Coverage Report

Created: 2023-10-29 14:07

/Volumes/compiler/apple/swift/include/swift/SIL/SILCloner.h
Line
Count
Source (jump to first uncovered line)
1
//===--- SILCloner.h - Defines the SILCloner class --------------*- C++ -*-===//
2
//
3
// This source file is part of the Swift.org open source project
4
//
5
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
//
8
// See https://swift.org/LICENSE.txt for license information
9
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
//
11
//===----------------------------------------------------------------------===//
12
//
13
// This file defines the SILCloner class, used for cloning SIL instructions.
14
//
15
//===----------------------------------------------------------------------===//
16
17
#ifndef SWIFT_SIL_SILCLONER_H
18
#define SWIFT_SIL_SILCLONER_H
19
20
#include "swift/AST/GenericEnvironment.h"
21
#include "swift/AST/ProtocolConformance.h"
22
#include "swift/SIL/BasicBlockUtils.h"
23
#include "swift/SIL/DebugUtils.h"
24
#include "swift/SIL/Dominance.h"
25
#include "swift/SIL/SILBuilder.h"
26
#include "swift/SIL/SILDebugScope.h"
27
#include "swift/SIL/SILInstruction.h"
28
#include "swift/SIL/SILVisitor.h"
29
30
namespace swift {
31
32
/// SILCloner - Abstract SIL visitor which knows how to clone instructions and
33
/// whose behavior can be customized by subclasses via the CRTP. This is meant
34
/// to be subclassed to implement inlining, function specialization, and other
35
/// operations requiring cloning (while possibly modifying, at the same time)
36
/// instruction sequences.
37
///
38
/// By default, this visitor will not do anything useful when called on a
39
/// basic block, or function; subclasses that want to handle those should
40
/// implement the appropriate visit functions and/or provide other entry points.
41
template<typename ImplClass>
42
class SILCloner : protected SILInstructionVisitor<ImplClass> {
43
  friend class SILVisitorBase<ImplClass>;
44
  friend class SILInstructionVisitor<ImplClass>;
45
46
47
protected:
48
  /// MARK: Context shared with CRTP extensions.
49
50
  SILBuilder Builder;
51
  DominanceInfo *DomTree = nullptr;
52
  TypeSubstitutionMap LocalArchetypeSubs;
53
54
  // The old-to-new value map.
55
  llvm::DenseMap<SILValue, SILValue> ValueMap;
56
57
  /// The old-to-new block map. Some entries may be premapped with original
58
  /// blocks.
59
  llvm::DenseMap<SILBasicBlock*, SILBasicBlock*> BBMap;
60
61
private:
62
  /// MARK: Private state hidden from CRTP extensions.
63
64
  // The original blocks in DFS preorder. All blocks in this list are mapped.
65
  // After cloning, this represents the entire cloned CFG.
66
  //
67
  // This could always be rediscovered by the client, but caching it is a
68
  // convenient way to iterate over the cloned region.
69
  SmallVector<SILBasicBlock *, 8> preorderBlocks;
70
71
  // Keep track of the last cloned block in function order. For single block
72
  // regions, this will be the start block.
73
  SILBasicBlock *lastClonedBB = nullptr;
74
75
public:
76
  using SILInstructionVisitor<ImplClass>::asImpl;
77
78
  explicit SILCloner(SILFunction &F, DominanceInfo *DT = nullptr)
79
562k
      : Builder(F), DomTree(DT) {}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
339
      : Builder(F), DomTree(DT) {}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
1.31k
      : Builder(F), DomTree(DT) {}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
155
      : Builder(F), DomTree(DT) {}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
128
      : Builder(F), DomTree(DT) {}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
249
      : Builder(F), DomTree(DT) {}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
390
      : Builder(F), DomTree(DT) {}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
10
      : Builder(F), DomTree(DT) {}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
2.62k
      : Builder(F), DomTree(DT) {}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
8
      : Builder(F), DomTree(DT) {}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
1
      : Builder(F), DomTree(DT) {}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
197
      : Builder(F), DomTree(DT) {}
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
5
      : Builder(F), DomTree(DT) {}
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
384
      : Builder(F), DomTree(DT) {}
_ZN5swift9SILClonerINS_16BasicBlockClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
359k
      : Builder(F), DomTree(DT) {}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
_ZN5swift9SILClonerINS_13GenericClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
25.4k
      : Builder(F), DomTree(DT) {}
_ZN5swift9SILClonerINS_15SILInlineClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
161k
      : Builder(F), DomTree(DT) {}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoE
Line
Count
Source
79
10.2k
      : Builder(F), DomTree(DT) {}
80
81
155
  explicit SILCloner(SILGlobalVariable *GlobVar) : Builder(GlobVar) {}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEEC2EPNS_17SILGlobalVariableE
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEEC2EPNS_17SILGlobalVariableE
Line
Count
Source
81
155
  explicit SILCloner(SILGlobalVariable *GlobVar) : Builder(GlobVar) {}
82
83
128
  void clearClonerState() {
84
128
    ValueMap.clear();
85
128
    BBMap.clear();
86
128
    preorderBlocks.clear();
87
128
  }
88
89
  /// Clients of SILCloner who want to know about any newly created
90
  /// instructions can install a SmallVector into the builder to collect them.
91
  void setTrackingList(SmallVectorImpl<SILInstruction*> *II) {
92
    getBuilder().setTrackingList(II);
93
  }
94
  
95
  SmallVectorImpl<SILInstruction*> *getTrackingList() {
96
    return getBuilder().getTrackingList();
97
  }
98
99
23.0M
  SILBuilder &getBuilder() { return Builder; }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE10getBuilderEv
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE10getBuilderEv
Line
Count
Source
99
12
  SILBuilder &getBuilder() { return Builder; }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE10getBuilderEv
Line
Count
Source
99
11.0k
  SILBuilder &getBuilder() { return Builder; }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE10getBuilderEv
Line
Count
Source
99
57.0k
  SILBuilder &getBuilder() { return Builder; }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE10getBuilderEv
Line
Count
Source
99
70.0k
  SILBuilder &getBuilder() { return Builder; }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE10getBuilderEv
Line
Count
Source
99
5.39k
  SILBuilder &getBuilder() { return Builder; }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE10getBuilderEv
Line
Count
Source
99
186k
  SILBuilder &getBuilder() { return Builder; }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE10getBuilderEv
Line
Count
Source
99
917
  SILBuilder &getBuilder() { return Builder; }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE10getBuilderEv
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE10getBuilderEv
Line
Count
Source
99
1.86k
  SILBuilder &getBuilder() { return Builder; }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE10getBuilderEv
Line
Count
Source
99
118k
  SILBuilder &getBuilder() { return Builder; }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE10getBuilderEv
Line
Count
Source
99
1.46k
  SILBuilder &getBuilder() { return Builder; }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE10getBuilderEv
_ZN5swift9SILClonerINS_16BasicBlockClonerEE10getBuilderEv
Line
Count
Source
99
369k
  SILBuilder &getBuilder() { return Builder; }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE10getBuilderEv
Line
Count
Source
99
8.77k
  SILBuilder &getBuilder() { return Builder; }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE10getBuilderEv
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE10getBuilderEv
Line
Count
Source
99
2.52k
  SILBuilder &getBuilder() { return Builder; }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE10getBuilderEv
Line
Count
Source
99
2.89k
  SILBuilder &getBuilder() { return Builder; }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE10getBuilderEv
_ZN5swift9SILClonerINS_13GenericClonerEE10getBuilderEv
Line
Count
Source
99
5.71M
  SILBuilder &getBuilder() { return Builder; }
_ZN5swift9SILClonerINS_15SILInlineClonerEE10getBuilderEv
Line
Count
Source
99
16.4M
  SILBuilder &getBuilder() { return Builder; }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE10getBuilderEv
Line
Count
Source
99
33.5k
  SILBuilder &getBuilder() { return Builder; }
100
101
  // After cloning, returns a non-null pointer to the last cloned block in
102
  // function order. For single block regions, this will be the start block.
103
161k
  SILBasicBlock *getLastClonedBB() { return lastClonedBB; }
104
105
  /// Visit all blocks reachable from the given `StartBB` and all instructions
106
  /// in those blocks.
107
  ///
108
  /// This is used to clone a region within a function and mutates the original
109
  /// function. `StartBB` cannot be the function entry block.
110
  ///
111
  /// The entire CFG is discovered in DFS preorder while cloning non-terminator
112
  /// instructions. `visitTerminator` is called in the same order, but only
113
  /// after mapping all blocks.
114
  void cloneReachableBlocks(SILBasicBlock *startBB,
115
                            ArrayRef<SILBasicBlock *> exitBlocks,
116
                            SILBasicBlock *insertAfterBB = nullptr,
117
                            bool havePrepopulatedFunctionArgs = false);
118
119
  /// Clone all blocks in this function and all instructions in those
120
  /// blocks.
121
  ///
122
  /// This is used to clone an entire function and should not mutate the
123
  /// original function except if \p replaceOriginalFunctionInPlace is true.
124
  ///
125
  /// entryArgs must have a SILValue from the cloned function corresponding to
126
  /// each argument in the original function `F`.
127
  ///
128
  /// Cloned instructions are inserted starting at the end of clonedEntryBB.
129
  void cloneFunctionBody(SILFunction *F, SILBasicBlock *clonedEntryBB,
130
                         ArrayRef<SILValue> entryArgs,
131
                         bool replaceOriginalFunctionInPlace = false);
132
133
  /// The same as clone function body, except the caller can provide a callback
134
  /// that allows for an entry arg to be assigned to a custom old argument. This
135
  /// is useful if one re-arranges parameters when converting from inout to out.
136
  void
137
  cloneFunctionBody(SILFunction *F, SILBasicBlock *clonedEntryBB,
138
                    ArrayRef<SILValue> entryArgs,
139
                    llvm::function_ref<SILValue(SILValue)> entryArgToOldArgMap);
140
141
  /// MARK: Callback utilities used from CRTP extensions during cloning.
142
  /// These should only be called from within an instruction cloning visitor.
143
144
  /// Visitor callback that registers a cloned instruction. All the original
145
  /// instruction's results are mapped onto the cloned instruction's results for
146
  /// use within the cloned region.
147
  ///
148
  /// CRTP extensions can
149
  /// override the implementation via `postProcess`.
150
7.32M
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
7.32M
    asImpl().postProcess(Orig, Cloned);
152
7.32M
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
7.32M
            Builder.isInsertingIntoGlobal())
154
7.32M
           && "cloned instruction dropped debug scope");
155
7.32M
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23recordClonedInstructionEPNS_14SILInstructionES4_
Line
Count
Source
150
4
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
4
    asImpl().postProcess(Orig, Cloned);
152
4
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
4
            Builder.isInsertingIntoGlobal())
154
4
           && "cloned instruction dropped debug scope");
155
4
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23recordClonedInstructionEPNS_14SILInstructionES6_
Line
Count
Source
150
3.57k
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
3.57k
    asImpl().postProcess(Orig, Cloned);
152
3.57k
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
3.57k
            Builder.isInsertingIntoGlobal())
154
3.57k
           && "cloned instruction dropped debug scope");
155
3.57k
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23recordClonedInstructionEPNS_14SILInstructionES6_
Line
Count
Source
150
18.2k
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
18.2k
    asImpl().postProcess(Orig, Cloned);
152
18.2k
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
18.2k
            Builder.isInsertingIntoGlobal())
154
18.2k
           && "cloned instruction dropped debug scope");
155
18.2k
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
Line
Count
Source
150
24.2k
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
24.2k
    asImpl().postProcess(Orig, Cloned);
152
24.2k
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
24.2k
            Builder.isInsertingIntoGlobal())
154
24.2k
           && "cloned instruction dropped debug scope");
155
24.2k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
Line
Count
Source
150
1.81k
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
1.81k
    asImpl().postProcess(Orig, Cloned);
152
1.81k
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
1.81k
            Builder.isInsertingIntoGlobal())
154
1.81k
           && "cloned instruction dropped debug scope");
155
1.81k
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
Line
Count
Source
150
66.6k
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
66.6k
    asImpl().postProcess(Orig, Cloned);
152
66.6k
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
66.6k
            Builder.isInsertingIntoGlobal())
154
66.6k
           && "cloned instruction dropped debug scope");
155
66.6k
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23recordClonedInstructionEPNS_14SILInstructionES5_
Line
Count
Source
150
390
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
390
    asImpl().postProcess(Orig, Cloned);
152
390
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
390
            Builder.isInsertingIntoGlobal())
154
390
           && "cloned instruction dropped debug scope");
155
390
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
Line
Count
Source
150
660
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
660
    asImpl().postProcess(Orig, Cloned);
152
660
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
660
            Builder.isInsertingIntoGlobal())
154
660
           && "cloned instruction dropped debug scope");
155
660
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
Line
Count
Source
150
41.9k
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
41.9k
    asImpl().postProcess(Orig, Cloned);
152
41.9k
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
41.9k
            Builder.isInsertingIntoGlobal())
154
41.9k
           && "cloned instruction dropped debug scope");
155
41.9k
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
Line
Count
Source
150
536
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
536
    asImpl().postProcess(Orig, Cloned);
152
536
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
536
            Builder.isInsertingIntoGlobal())
154
536
           && "cloned instruction dropped debug scope");
155
536
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
_ZN5swift9SILClonerINS_16BasicBlockClonerEE23recordClonedInstructionEPNS_14SILInstructionES4_
Line
Count
Source
150
86.1k
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
86.1k
    asImpl().postProcess(Orig, Cloned);
152
86.1k
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
86.1k
            Builder.isInsertingIntoGlobal())
154
86.1k
           && "cloned instruction dropped debug scope");
155
86.1k
  }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23recordClonedInstructionEPNS_14SILInstructionES4_
Line
Count
Source
150
3.48k
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
3.48k
    asImpl().postProcess(Orig, Cloned);
152
3.48k
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
3.48k
            Builder.isInsertingIntoGlobal())
154
3.48k
           && "cloned instruction dropped debug scope");
155
3.48k
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23recordClonedInstructionEPNS_14SILInstructionES4_
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
Line
Count
Source
150
1.01k
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
1.01k
    asImpl().postProcess(Orig, Cloned);
152
1.01k
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
1.01k
            Builder.isInsertingIntoGlobal())
154
1.01k
           && "cloned instruction dropped debug scope");
155
1.01k
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
Line
Count
Source
150
674
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
674
    asImpl().postProcess(Orig, Cloned);
152
674
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
674
            Builder.isInsertingIntoGlobal())
154
674
           && "cloned instruction dropped debug scope");
155
674
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23recordClonedInstructionEPNS_14SILInstructionES5_
_ZN5swift9SILClonerINS_13GenericClonerEE23recordClonedInstructionEPNS_14SILInstructionES4_
Line
Count
Source
150
1.89M
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
1.89M
    asImpl().postProcess(Orig, Cloned);
152
1.89M
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
1.89M
            Builder.isInsertingIntoGlobal())
154
1.89M
           && "cloned instruction dropped debug scope");
155
1.89M
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE23recordClonedInstructionEPNS_14SILInstructionES4_
Line
Count
Source
150
5.17M
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
5.17M
    asImpl().postProcess(Orig, Cloned);
152
5.17M
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
5.17M
            Builder.isInsertingIntoGlobal())
154
5.17M
           && "cloned instruction dropped debug scope");
155
5.17M
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23recordClonedInstructionEPNS_14SILInstructionES5_
Line
Count
Source
150
10.2k
  void recordClonedInstruction(SILInstruction *Orig, SILInstruction *Cloned) {
151
10.2k
    asImpl().postProcess(Orig, Cloned);
152
10.2k
    assert((!Orig->getDebugScope() || Cloned->getDebugScope() ||
153
10.2k
            Builder.isInsertingIntoGlobal())
154
10.2k
           && "cloned instruction dropped debug scope");
155
10.2k
  }
156
157
  /// Visitor callback that maps an original value to an existing value when the
158
  /// original instruction will not be cloned. This is used when the instruction
159
  /// visitor can fold away the cloned instruction, and it skips the usual
160
  /// `postProcess()` callback. recordClonedInstruction() and
161
  /// recordFoldedValue() are the only two ways for a visitor to map an original
162
  /// value to another value for use within the cloned region.
163
1.79k
  void recordFoldedValue(SILValue origValue, SILValue mappedValue) {
164
1.79k
    asImpl().mapValue(origValue, mappedValue);
165
1.79k
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17recordFoldedValueENS_8SILValueES4_
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17recordFoldedValueENS_8SILValueES3_
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17recordFoldedValueENS_8SILValueES5_
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17recordFoldedValueENS_8SILValueES5_
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17recordFoldedValueENS_8SILValueES4_
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17recordFoldedValueENS_8SILValueES4_
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17recordFoldedValueENS_8SILValueES4_
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17recordFoldedValueENS_8SILValueES4_
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17recordFoldedValueENS_8SILValueES4_
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17recordFoldedValueENS_8SILValueES4_
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17recordFoldedValueENS_8SILValueES4_
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17recordFoldedValueENS_8SILValueES4_
Line
Count
Source
163
8
  void recordFoldedValue(SILValue origValue, SILValue mappedValue) {
164
8
    asImpl().mapValue(origValue, mappedValue);
165
8
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17recordFoldedValueENS_8SILValueES4_
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17recordFoldedValueENS_8SILValueES3_
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17recordFoldedValueENS_8SILValueES3_
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17recordFoldedValueENS_8SILValueES3_
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17recordFoldedValueENS_8SILValueES4_
Line
Count
Source
163
9
  void recordFoldedValue(SILValue origValue, SILValue mappedValue) {
164
9
    asImpl().mapValue(origValue, mappedValue);
165
9
  }
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17recordFoldedValueENS_8SILValueES4_
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17recordFoldedValueENS_8SILValueES4_
_ZN5swift9SILClonerINS_13GenericClonerEE17recordFoldedValueENS_8SILValueES3_
Line
Count
Source
163
1
  void recordFoldedValue(SILValue origValue, SILValue mappedValue) {
164
1
    asImpl().mapValue(origValue, mappedValue);
165
1
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE17recordFoldedValueENS_8SILValueES3_
Line
Count
Source
163
1.77k
  void recordFoldedValue(SILValue origValue, SILValue mappedValue) {
164
1.77k
    asImpl().mapValue(origValue, mappedValue);
165
1.77k
  }
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17recordFoldedValueENS_8SILValueES4_
166
167
  /// Register a re-mapping for local archetypes such as opened existentials.
168
  void registerLocalArchetypeRemapping(ArchetypeType *From,
169
5.31k
                                       ArchetypeType *To) {
170
5.31k
    auto result = LocalArchetypeSubs.insert(
171
5.31k
        std::make_pair(CanArchetypeType(From), CanType(To)));
172
5.31k
    assert(result.second);
173
0
    (void)result;
174
5.31k
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES6_
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES6_
Line
Count
Source
169
1
                                       ArchetypeType *To) {
170
1
    auto result = LocalArchetypeSubs.insert(
171
1
        std::make_pair(CanArchetypeType(From), CanType(To)));
172
1
    assert(result.second);
173
0
    (void)result;
174
1
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
Line
Count
Source
169
244
                                       ArchetypeType *To) {
170
244
    auto result = LocalArchetypeSubs.insert(
171
244
        std::make_pair(CanArchetypeType(From), CanType(To)));
172
244
    assert(result.second);
173
0
    (void)result;
174
244
  }
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
Line
Count
Source
169
2
                                       ArchetypeType *To) {
170
2
    auto result = LocalArchetypeSubs.insert(
171
2
        std::make_pair(CanArchetypeType(From), CanType(To)));
172
2
    assert(result.second);
173
0
    (void)result;
174
2
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
Line
Count
Source
169
5
                                       ArchetypeType *To) {
170
5
    auto result = LocalArchetypeSubs.insert(
171
5
        std::make_pair(CanArchetypeType(From), CanType(To)));
172
5
    assert(result.second);
173
0
    (void)result;
174
5
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
Line
Count
Source
169
4
                                       ArchetypeType *To) {
170
4
    auto result = LocalArchetypeSubs.insert(
171
4
        std::make_pair(CanArchetypeType(From), CanType(To)));
172
4
    assert(result.second);
173
0
    (void)result;
174
4
  }
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
Line
Count
Source
169
6
                                       ArchetypeType *To) {
170
6
    auto result = LocalArchetypeSubs.insert(
171
6
        std::make_pair(CanArchetypeType(From), CanType(To)));
172
6
    assert(result.second);
173
0
    (void)result;
174
6
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
Line
Count
Source
169
384
                                       ArchetypeType *To) {
170
384
    auto result = LocalArchetypeSubs.insert(
171
384
        std::make_pair(CanArchetypeType(From), CanType(To)));
172
384
    assert(result.second);
173
0
    (void)result;
174
384
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
_ZN5swift9SILClonerINS_13GenericClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_
Line
Count
Source
169
1.64k
                                       ArchetypeType *To) {
170
1.64k
    auto result = LocalArchetypeSubs.insert(
171
1.64k
        std::make_pair(CanArchetypeType(From), CanType(To)));
172
1.64k
    assert(result.second);
173
0
    (void)result;
174
1.64k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES4_
Line
Count
Source
169
3.03k
                                       ArchetypeType *To) {
170
3.03k
    auto result = LocalArchetypeSubs.insert(
171
3.03k
        std::make_pair(CanArchetypeType(From), CanType(To)));
172
3.03k
    assert(result.second);
173
0
    (void)result;
174
3.03k
  }
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31registerLocalArchetypeRemappingEPNS_13ArchetypeTypeES5_
175
176
  /// MARK: Public access to the cloned state, during and after cloning.
177
178
  /// After cloning, provides a list of all cloned blocks in DFS preorder.
179
30
  ArrayRef<SILBasicBlock *> originalPreorderBlocks() const {
180
30
    return preorderBlocks;
181
30
  }
182
183
7.40M
  SILLocation getOpLocation(SILLocation Loc) {
184
7.40M
    return asImpl().remapLocation(Loc);
185
7.40M
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13getOpLocationENS_11SILLocationE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
3
  SILLocation getOpLocation(SILLocation Loc) {
184
3
    return asImpl().remapLocation(Loc);
185
3
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
3.03k
  SILLocation getOpLocation(SILLocation Loc) {
184
3.03k
    return asImpl().remapLocation(Loc);
185
3.03k
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
16.1k
  SILLocation getOpLocation(SILLocation Loc) {
184
16.1k
    return asImpl().remapLocation(Loc);
185
16.1k
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
21.1k
  SILLocation getOpLocation(SILLocation Loc) {
184
21.1k
    return asImpl().remapLocation(Loc);
185
21.1k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
1.57k
  SILLocation getOpLocation(SILLocation Loc) {
184
1.57k
    return asImpl().remapLocation(Loc);
185
1.57k
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
65.8k
  SILLocation getOpLocation(SILLocation Loc) {
184
65.8k
    return asImpl().remapLocation(Loc);
185
65.8k
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
332
  SILLocation getOpLocation(SILLocation Loc) {
184
332
    return asImpl().remapLocation(Loc);
185
332
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13getOpLocationENS_11SILLocationE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
630
  SILLocation getOpLocation(SILLocation Loc) {
184
630
    return asImpl().remapLocation(Loc);
185
630
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
41.9k
  SILLocation getOpLocation(SILLocation Loc) {
184
41.9k
    return asImpl().remapLocation(Loc);
185
41.9k
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
520
  SILLocation getOpLocation(SILLocation Loc) {
184
520
    return asImpl().remapLocation(Loc);
185
520
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13getOpLocationENS_11SILLocationE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
84.6k
  SILLocation getOpLocation(SILLocation Loc) {
184
84.6k
    return asImpl().remapLocation(Loc);
185
84.6k
  }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
3.48k
  SILLocation getOpLocation(SILLocation Loc) {
184
3.48k
    return asImpl().remapLocation(Loc);
185
3.48k
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13getOpLocationENS_11SILLocationE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
972
  SILLocation getOpLocation(SILLocation Loc) {
184
972
    return asImpl().remapLocation(Loc);
185
972
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
674
  SILLocation getOpLocation(SILLocation Loc) {
184
674
    return asImpl().remapLocation(Loc);
185
674
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13getOpLocationENS_11SILLocationE
_ZN5swift9SILClonerINS_13GenericClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
1.87M
  SILLocation getOpLocation(SILLocation Loc) {
184
1.87M
    return asImpl().remapLocation(Loc);
185
1.87M
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
5.27M
  SILLocation getOpLocation(SILLocation Loc) {
184
5.27M
    return asImpl().remapLocation(Loc);
185
5.27M
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13getOpLocationENS_11SILLocationE
Line
Count
Source
183
10.1k
  SILLocation getOpLocation(SILLocation Loc) {
184
10.1k
    return asImpl().remapLocation(Loc);
185
10.1k
  }
186
187
8.15M
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
8.15M
    return asImpl().remapScope(DS);
189
8.15M
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE10getOpScopeEPKNS_13SILDebugScopeE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
4
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
4
    return asImpl().remapScope(DS);
189
4
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
3.57k
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
3.57k
    return asImpl().remapScope(DS);
189
3.57k
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
21.8k
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
21.8k
    return asImpl().remapScope(DS);
189
21.8k
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
24.3k
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
24.3k
    return asImpl().remapScope(DS);
189
24.3k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
1.81k
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
1.81k
    return asImpl().remapScope(DS);
189
1.81k
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
66.6k
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
66.6k
    return asImpl().remapScope(DS);
189
66.6k
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
391
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
391
    return asImpl().remapScope(DS);
189
391
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE10getOpScopeEPKNS_13SILDebugScopeE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
660
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
660
    return asImpl().remapScope(DS);
189
660
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
42.0k
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
42.0k
    return asImpl().remapScope(DS);
189
42.0k
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
566
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
566
    return asImpl().remapScope(DS);
189
566
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE10getOpScopeEPKNS_13SILDebugScopeE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
86.1k
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
86.1k
    return asImpl().remapScope(DS);
189
86.1k
  }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
3.48k
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
3.48k
    return asImpl().remapScope(DS);
189
3.48k
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE10getOpScopeEPKNS_13SILDebugScopeE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
1.01k
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
1.01k
    return asImpl().remapScope(DS);
189
1.01k
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
674
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
674
    return asImpl().remapScope(DS);
189
674
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE10getOpScopeEPKNS_13SILDebugScopeE
_ZN5swift9SILClonerINS_13GenericClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
1.89M
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
1.89M
    return asImpl().remapScope(DS);
189
1.89M
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
5.99M
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
5.99M
    return asImpl().remapScope(DS);
189
5.99M
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE10getOpScopeEPKNS_13SILDebugScopeE
Line
Count
Source
187
10.2k
  const SILDebugScope *getOpScope(const SILDebugScope *DS) {
188
10.2k
    return asImpl().remapScope(DS);
189
10.2k
  }
190
191
1.83M
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
1.83M
    if (!LocalArchetypeSubs.empty()) {
195
40.2k
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
5.64k
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
5.64k
                          MakeAbstractConformanceForGenericType());
200
5.64k
      }
201
40.2k
    }
202
203
1.83M
    return asImpl().remapSubstitutionMap(Subs)
204
1.83M
                   .getCanonical(/*canonicalizeSignature*/false);
205
1.83M
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
1
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
1
    if (!LocalArchetypeSubs.empty()) {
195
0
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
0
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
0
                          MakeAbstractConformanceForGenericType());
200
0
      }
201
0
    }
202
203
1
    return asImpl().remapSubstitutionMap(Subs)
204
1
                   .getCanonical(/*canonicalizeSignature*/false);
205
1
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
480
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
480
    if (!LocalArchetypeSubs.empty()) {
195
0
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
0
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
0
                          MakeAbstractConformanceForGenericType());
200
0
      }
201
0
    }
202
203
480
    return asImpl().remapSubstitutionMap(Subs)
204
480
                   .getCanonical(/*canonicalizeSignature*/false);
205
480
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
1.92k
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
1.92k
    if (!LocalArchetypeSubs.empty()) {
195
1
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
1
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
1
                          MakeAbstractConformanceForGenericType());
200
1
      }
201
1
    }
202
203
1.92k
    return asImpl().remapSubstitutionMap(Subs)
204
1.92k
                   .getCanonical(/*canonicalizeSignature*/false);
205
1.92k
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
3.45k
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
3.45k
    if (!LocalArchetypeSubs.empty()) {
195
2.70k
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
470
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
470
                          MakeAbstractConformanceForGenericType());
200
470
      }
201
2.70k
    }
202
203
3.45k
    return asImpl().remapSubstitutionMap(Subs)
204
3.45k
                   .getCanonical(/*canonicalizeSignature*/false);
205
3.45k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
382
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
382
    if (!LocalArchetypeSubs.empty()) {
195
0
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
0
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
0
                          MakeAbstractConformanceForGenericType());
200
0
      }
201
0
    }
202
203
382
    return asImpl().remapSubstitutionMap(Subs)
204
382
                   .getCanonical(/*canonicalizeSignature*/false);
205
382
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
16.4k
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
16.4k
    if (!LocalArchetypeSubs.empty()) {
195
44
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
2
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
2
                          MakeAbstractConformanceForGenericType());
200
2
      }
201
44
    }
202
203
16.4k
    return asImpl().remapSubstitutionMap(Subs)
204
16.4k
                   .getCanonical(/*canonicalizeSignature*/false);
205
16.4k
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
46
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
46
    if (!LocalArchetypeSubs.empty()) {
195
0
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
0
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
0
                          MakeAbstractConformanceForGenericType());
200
0
      }
201
0
    }
202
203
46
    return asImpl().remapSubstitutionMap(Subs)
204
46
                   .getCanonical(/*canonicalizeSignature*/false);
205
46
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
154
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
154
    if (!LocalArchetypeSubs.empty()) {
195
32
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
4
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
4
                          MakeAbstractConformanceForGenericType());
200
4
      }
201
32
    }
202
203
154
    return asImpl().remapSubstitutionMap(Subs)
204
154
                   .getCanonical(/*canonicalizeSignature*/false);
205
154
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
20.9k
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
20.9k
    if (!LocalArchetypeSubs.empty()) {
195
0
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
0
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
0
                          MakeAbstractConformanceForGenericType());
200
0
      }
201
0
    }
202
203
20.9k
    return asImpl().remapSubstitutionMap(Subs)
204
20.9k
                   .getCanonical(/*canonicalizeSignature*/false);
205
20.9k
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
62
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
62
    if (!LocalArchetypeSubs.empty()) {
195
0
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
0
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
0
                          MakeAbstractConformanceForGenericType());
200
0
      }
201
0
    }
202
203
62
    return asImpl().remapSubstitutionMap(Subs)
204
62
                   .getCanonical(/*canonicalizeSignature*/false);
205
62
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
7.80k
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
7.80k
    if (!LocalArchetypeSubs.empty()) {
195
0
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
0
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
0
                          MakeAbstractConformanceForGenericType());
200
0
      }
201
0
    }
202
203
7.80k
    return asImpl().remapSubstitutionMap(Subs)
204
7.80k
                   .getCanonical(/*canonicalizeSignature*/false);
205
7.80k
  }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
581
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
581
    if (!LocalArchetypeSubs.empty()) {
195
0
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
0
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
0
                          MakeAbstractConformanceForGenericType());
200
0
      }
201
0
    }
202
203
581
    return asImpl().remapSubstitutionMap(Subs)
204
581
                   .getCanonical(/*canonicalizeSignature*/false);
205
581
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
160
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
160
    if (!LocalArchetypeSubs.empty()) {
195
126
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
6
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
6
                          MakeAbstractConformanceForGenericType());
200
6
      }
201
126
    }
202
203
160
    return asImpl().remapSubstitutionMap(Subs)
204
160
                   .getCanonical(/*canonicalizeSignature*/false);
205
160
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
486
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
486
    if (!LocalArchetypeSubs.empty()) {
195
486
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
486
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
486
                          MakeAbstractConformanceForGenericType());
200
486
      }
201
486
    }
202
203
486
    return asImpl().remapSubstitutionMap(Subs)
204
486
                   .getCanonical(/*canonicalizeSignature*/false);
205
486
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20getOpSubstitutionMapENS_15SubstitutionMapE
_ZN5swift9SILClonerINS_13GenericClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
394k
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
394k
    if (!LocalArchetypeSubs.empty()) {
195
30.9k
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
1.33k
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
1.33k
                          MakeAbstractConformanceForGenericType());
200
1.33k
      }
201
30.9k
    }
202
203
394k
    return asImpl().remapSubstitutionMap(Subs)
204
394k
                   .getCanonical(/*canonicalizeSignature*/false);
205
394k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
1.38M
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
1.38M
    if (!LocalArchetypeSubs.empty()) {
195
5.91k
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
3.33k
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
3.33k
                          MakeAbstractConformanceForGenericType());
200
3.33k
      }
201
5.91k
    }
202
203
1.38M
    return asImpl().remapSubstitutionMap(Subs)
204
1.38M
                   .getCanonical(/*canonicalizeSignature*/false);
205
1.38M
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20getOpSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
191
2.81k
  SubstitutionMap getOpSubstitutionMap(SubstitutionMap Subs) {
192
    // If we have local archetypes to substitute, check whether that's
193
    // relevant to this particular substitution.
194
2.81k
    if (!LocalArchetypeSubs.empty()) {
195
0
      if (Subs.hasLocalArchetypes()) {
196
        // If we found a type containing a local archetype, substitute
197
        // open existentials throughout the substitution map.
198
0
        Subs = Subs.subst(QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
199
0
                          MakeAbstractConformanceForGenericType());
200
0
      }
201
0
    }
202
203
2.81k
    return asImpl().remapSubstitutionMap(Subs)
204
2.81k
                   .getCanonical(/*canonicalizeSignature*/false);
205
2.81k
  }
206
207
5.00M
  SILType getTypeInClonedContext(SILType Ty) {
208
5.00M
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
5.00M
    if (!objectTy->hasLocalArchetype())
211
4.99M
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
10.1k
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
10.1k
    return Ty.subst(
220
10.1k
      Builder.getModule(),
221
10.1k
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
10.1k
      MakeAbstractConformanceForGenericType(),
223
10.1k
      CanGenericSignature());
224
10.1k
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22getTypeInClonedContextENS_7SILTypeE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
1
  SILType getTypeInClonedContext(SILType Ty) {
208
1
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
1
    if (!objectTy->hasLocalArchetype())
211
1
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
0
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
0
    return Ty.subst(
220
0
      Builder.getModule(),
221
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
0
      MakeAbstractConformanceForGenericType(),
223
0
      CanGenericSignature());
224
0
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
2.57k
  SILType getTypeInClonedContext(SILType Ty) {
208
2.57k
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
2.57k
    if (!objectTy->hasLocalArchetype())
211
2.57k
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
0
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
0
    return Ty.subst(
220
0
      Builder.getModule(),
221
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
0
      MakeAbstractConformanceForGenericType(),
223
0
      CanGenericSignature());
224
0
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
12.0k
  SILType getTypeInClonedContext(SILType Ty) {
208
12.0k
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
12.0k
    if (!objectTy->hasLocalArchetype())
211
12.0k
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
2
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
2
    return Ty.subst(
220
2
      Builder.getModule(),
221
2
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
2
      MakeAbstractConformanceForGenericType(),
223
2
      CanGenericSignature());
224
2
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
13.1k
  SILType getTypeInClonedContext(SILType Ty) {
208
13.1k
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
13.1k
    if (!objectTy->hasLocalArchetype())
211
12.3k
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
717
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
717
    return Ty.subst(
220
717
      Builder.getModule(),
221
717
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
717
      MakeAbstractConformanceForGenericType(),
223
717
      CanGenericSignature());
224
717
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
861
  SILType getTypeInClonedContext(SILType Ty) {
208
861
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
861
    if (!objectTy->hasLocalArchetype())
211
861
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
0
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
0
    return Ty.subst(
220
0
      Builder.getModule(),
221
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
0
      MakeAbstractConformanceForGenericType(),
223
0
      CanGenericSignature());
224
0
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
40.9k
  SILType getTypeInClonedContext(SILType Ty) {
208
40.9k
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
40.9k
    if (!objectTy->hasLocalArchetype())
211
40.9k
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
2
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
2
    return Ty.subst(
220
2
      Builder.getModule(),
221
2
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
2
      MakeAbstractConformanceForGenericType(),
223
2
      CanGenericSignature());
224
2
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
127
  SILType getTypeInClonedContext(SILType Ty) {
208
127
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
127
    if (!objectTy->hasLocalArchetype())
211
122
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
5
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
5
    return Ty.subst(
220
5
      Builder.getModule(),
221
5
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
5
      MakeAbstractConformanceForGenericType(),
223
5
      CanGenericSignature());
224
5
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22getTypeInClonedContextENS_7SILTypeE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
296
  SILType getTypeInClonedContext(SILType Ty) {
208
296
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
296
    if (!objectTy->hasLocalArchetype())
211
292
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
4
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
4
    return Ty.subst(
220
4
      Builder.getModule(),
221
4
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
4
      MakeAbstractConformanceForGenericType(),
223
4
      CanGenericSignature());
224
4
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
36.7k
  SILType getTypeInClonedContext(SILType Ty) {
208
36.7k
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
36.7k
    if (!objectTy->hasLocalArchetype())
211
36.7k
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
0
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
0
    return Ty.subst(
220
0
      Builder.getModule(),
221
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
0
      MakeAbstractConformanceForGenericType(),
223
0
      CanGenericSignature());
224
0
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
128
  SILType getTypeInClonedContext(SILType Ty) {
208
128
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
128
    if (!objectTy->hasLocalArchetype())
211
128
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
0
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
0
    return Ty.subst(
220
0
      Builder.getModule(),
221
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
0
      MakeAbstractConformanceForGenericType(),
223
0
      CanGenericSignature());
224
0
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22getTypeInClonedContextENS_7SILTypeE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
42.2k
  SILType getTypeInClonedContext(SILType Ty) {
208
42.2k
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
42.2k
    if (!objectTy->hasLocalArchetype())
211
42.2k
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
0
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
0
    return Ty.subst(
220
0
      Builder.getModule(),
221
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
0
      MakeAbstractConformanceForGenericType(),
223
0
      CanGenericSignature());
224
0
  }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
2.93k
  SILType getTypeInClonedContext(SILType Ty) {
208
2.93k
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
2.93k
    if (!objectTy->hasLocalArchetype())
211
2.93k
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
0
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
0
    return Ty.subst(
220
0
      Builder.getModule(),
221
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
0
      MakeAbstractConformanceForGenericType(),
223
0
      CanGenericSignature());
224
0
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22getTypeInClonedContextENS_7SILTypeE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
285
  SILType getTypeInClonedContext(SILType Ty) {
208
285
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
285
    if (!objectTy->hasLocalArchetype())
211
279
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
6
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
6
    return Ty.subst(
220
6
      Builder.getModule(),
221
6
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
6
      MakeAbstractConformanceForGenericType(),
223
6
      CanGenericSignature());
224
6
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
4
  SILType getTypeInClonedContext(SILType Ty) {
208
4
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
4
    if (!objectTy->hasLocalArchetype())
211
2
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
2
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
2
    return Ty.subst(
220
2
      Builder.getModule(),
221
2
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
2
      MakeAbstractConformanceForGenericType(),
223
2
      CanGenericSignature());
224
2
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22getTypeInClonedContextENS_7SILTypeE
_ZN5swift9SILClonerINS_13GenericClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
1.18M
  SILType getTypeInClonedContext(SILType Ty) {
208
1.18M
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
1.18M
    if (!objectTy->hasLocalArchetype())
211
1.17M
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
3.01k
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
3.01k
    return Ty.subst(
220
3.01k
      Builder.getModule(),
221
3.01k
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
3.01k
      MakeAbstractConformanceForGenericType(),
223
3.01k
      CanGenericSignature());
224
3.01k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
3.66M
  SILType getTypeInClonedContext(SILType Ty) {
208
3.66M
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
3.66M
    if (!objectTy->hasLocalArchetype())
211
3.65M
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
6.43k
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
6.43k
    return Ty.subst(
220
6.43k
      Builder.getModule(),
221
6.43k
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
6.43k
      MakeAbstractConformanceForGenericType(),
223
6.43k
      CanGenericSignature());
224
6.43k
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22getTypeInClonedContextENS_7SILTypeE
Line
Count
Source
207
6.51k
  SILType getTypeInClonedContext(SILType Ty) {
208
6.51k
    auto objectTy = Ty.getASTType();
209
    // Do not substitute local archetypes, if we do not have any.
210
6.51k
    if (!objectTy->hasLocalArchetype())
211
6.51k
      return Ty;
212
    // Do not substitute local archetypes, if it is not required.
213
    // This is often the case when cloning basic blocks inside the same
214
    // function.
215
0
    if (LocalArchetypeSubs.empty())
216
0
      return Ty;
217
218
    // Substitute local archetypes, if we have any.
219
0
    return Ty.subst(
220
0
      Builder.getModule(),
221
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
222
0
      MakeAbstractConformanceForGenericType(),
223
0
      CanGenericSignature());
224
0
  }
225
5.00M
  SILType getOpType(SILType Ty) {
226
5.00M
    Ty = getTypeInClonedContext(Ty);
227
5.00M
    return asImpl().remapType(Ty);
228
5.00M
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE9getOpTypeENS_7SILTypeE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
1
  SILType getOpType(SILType Ty) {
226
1
    Ty = getTypeInClonedContext(Ty);
227
1
    return asImpl().remapType(Ty);
228
1
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
2.57k
  SILType getOpType(SILType Ty) {
226
2.57k
    Ty = getTypeInClonedContext(Ty);
227
2.57k
    return asImpl().remapType(Ty);
228
2.57k
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
12.0k
  SILType getOpType(SILType Ty) {
226
12.0k
    Ty = getTypeInClonedContext(Ty);
227
12.0k
    return asImpl().remapType(Ty);
228
12.0k
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
13.1k
  SILType getOpType(SILType Ty) {
226
13.1k
    Ty = getTypeInClonedContext(Ty);
227
13.1k
    return asImpl().remapType(Ty);
228
13.1k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
861
  SILType getOpType(SILType Ty) {
226
861
    Ty = getTypeInClonedContext(Ty);
227
861
    return asImpl().remapType(Ty);
228
861
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
40.9k
  SILType getOpType(SILType Ty) {
226
40.9k
    Ty = getTypeInClonedContext(Ty);
227
40.9k
    return asImpl().remapType(Ty);
228
40.9k
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
127
  SILType getOpType(SILType Ty) {
226
127
    Ty = getTypeInClonedContext(Ty);
227
127
    return asImpl().remapType(Ty);
228
127
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE9getOpTypeENS_7SILTypeE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
296
  SILType getOpType(SILType Ty) {
226
296
    Ty = getTypeInClonedContext(Ty);
227
296
    return asImpl().remapType(Ty);
228
296
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
36.7k
  SILType getOpType(SILType Ty) {
226
36.7k
    Ty = getTypeInClonedContext(Ty);
227
36.7k
    return asImpl().remapType(Ty);
228
36.7k
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
128
  SILType getOpType(SILType Ty) {
226
128
    Ty = getTypeInClonedContext(Ty);
227
128
    return asImpl().remapType(Ty);
228
128
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE9getOpTypeENS_7SILTypeE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
42.2k
  SILType getOpType(SILType Ty) {
226
42.2k
    Ty = getTypeInClonedContext(Ty);
227
42.2k
    return asImpl().remapType(Ty);
228
42.2k
  }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
2.93k
  SILType getOpType(SILType Ty) {
226
2.93k
    Ty = getTypeInClonedContext(Ty);
227
2.93k
    return asImpl().remapType(Ty);
228
2.93k
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE9getOpTypeENS_7SILTypeE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
285
  SILType getOpType(SILType Ty) {
226
285
    Ty = getTypeInClonedContext(Ty);
227
285
    return asImpl().remapType(Ty);
228
285
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
4
  SILType getOpType(SILType Ty) {
226
4
    Ty = getTypeInClonedContext(Ty);
227
4
    return asImpl().remapType(Ty);
228
4
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE9getOpTypeENS_7SILTypeE
_ZN5swift9SILClonerINS_13GenericClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
1.18M
  SILType getOpType(SILType Ty) {
226
1.18M
    Ty = getTypeInClonedContext(Ty);
227
1.18M
    return asImpl().remapType(Ty);
228
1.18M
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
3.66M
  SILType getOpType(SILType Ty) {
226
3.66M
    Ty = getTypeInClonedContext(Ty);
227
3.66M
    return asImpl().remapType(Ty);
228
3.66M
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE9getOpTypeENS_7SILTypeE
Line
Count
Source
225
6.51k
  SILType getOpType(SILType Ty) {
226
6.51k
    Ty = getTypeInClonedContext(Ty);
227
6.51k
    return asImpl().remapType(Ty);
228
6.51k
  }
229
230
121k
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
121k
    if (!ty->hasLocalArchetype())
233
115k
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
5.43k
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
5.43k
    return ty.subst(
241
5.43k
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
5.43k
      MakeAbstractConformanceForGenericType()
243
5.43k
    )->getCanonicalType();
244
5.43k
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25getASTTypeInClonedContextENS_4TypeE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25getASTTypeInClonedContextENS_4TypeE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
30
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
30
    if (!ty->hasLocalArchetype())
233
30
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
0
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
0
    return ty.subst(
241
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
0
      MakeAbstractConformanceForGenericType()
243
0
    )->getCanonicalType();
244
0
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
616
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
616
    if (!ty->hasLocalArchetype())
233
614
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
2
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
2
    return ty.subst(
241
2
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
2
      MakeAbstractConformanceForGenericType()
243
2
    )->getCanonicalType();
244
2
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
1.48k
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
1.48k
    if (!ty->hasLocalArchetype())
233
1.00k
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
484
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
484
    return ty.subst(
241
484
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
484
      MakeAbstractConformanceForGenericType()
243
484
    )->getCanonicalType();
244
484
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
2
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
2
    if (!ty->hasLocalArchetype())
233
2
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
0
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
0
    return ty.subst(
241
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
0
      MakeAbstractConformanceForGenericType()
243
0
    )->getCanonicalType();
244
0
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
43
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
43
    if (!ty->hasLocalArchetype())
233
39
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
4
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
4
    return ty.subst(
241
4
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
4
      MakeAbstractConformanceForGenericType()
243
4
    )->getCanonicalType();
244
4
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
9
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
9
    if (!ty->hasLocalArchetype())
233
9
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
0
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
0
    return ty.subst(
241
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
0
      MakeAbstractConformanceForGenericType()
243
0
    )->getCanonicalType();
244
0
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25getASTTypeInClonedContextENS_4TypeE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
24
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
24
    if (!ty->hasLocalArchetype())
233
24
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
0
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
0
    return ty.subst(
241
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
0
      MakeAbstractConformanceForGenericType()
243
0
    )->getCanonicalType();
244
0
  }
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25getASTTypeInClonedContextENS_4TypeE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25getASTTypeInClonedContextENS_4TypeE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25getASTTypeInClonedContextENS_4TypeE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
14
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
14
    if (!ty->hasLocalArchetype())
233
14
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
0
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
0
    return ty.subst(
241
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
0
      MakeAbstractConformanceForGenericType()
243
0
    )->getCanonicalType();
244
0
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25getASTTypeInClonedContextENS_4TypeE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25getASTTypeInClonedContextENS_4TypeE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
19
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
19
    if (!ty->hasLocalArchetype())
233
7
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
12
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
12
    return ty.subst(
241
12
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
12
      MakeAbstractConformanceForGenericType()
243
12
    )->getCanonicalType();
244
12
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
368
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
368
    if (!ty->hasLocalArchetype())
233
0
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
368
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
368
    return ty.subst(
241
368
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
368
      MakeAbstractConformanceForGenericType()
243
368
    )->getCanonicalType();
244
368
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25getASTTypeInClonedContextENS_4TypeE
_ZN5swift9SILClonerINS_13GenericClonerEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
60.5k
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
60.5k
    if (!ty->hasLocalArchetype())
233
58.6k
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
1.89k
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
1.89k
    return ty.subst(
241
1.89k
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
1.89k
      MakeAbstractConformanceForGenericType()
243
1.89k
    )->getCanonicalType();
244
1.89k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
58.2k
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
58.2k
    if (!ty->hasLocalArchetype())
233
55.5k
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
2.66k
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
2.66k
    return ty.subst(
241
2.66k
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
2.66k
      MakeAbstractConformanceForGenericType()
243
2.66k
    )->getCanonicalType();
244
2.66k
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25getASTTypeInClonedContextENS_4TypeE
Line
Count
Source
230
13
  CanType getASTTypeInClonedContext(Type ty) {
231
    // Do not substitute local archetypes, if we do not have any.
232
13
    if (!ty->hasLocalArchetype())
233
13
      return ty->getCanonicalType();
234
    // Do not substitute local archetypes, if it is not required.
235
    // This is often the case when cloning basic blocks inside the same
236
    // function.
237
0
    if (LocalArchetypeSubs.empty())
238
0
      return ty->getCanonicalType();
239
240
0
    return ty.subst(
241
0
      QueryTypeSubstitutionMapOrIdentity{LocalArchetypeSubs},
242
0
      MakeAbstractConformanceForGenericType()
243
0
    )->getCanonicalType();
244
0
  }
245
246
70.2k
  CanType getOpASTType(CanType ty) {
247
70.2k
    ty = getASTTypeInClonedContext(ty);
248
70.2k
    return asImpl().remapASTType(ty);
249
70.2k
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE12getOpASTTypeENS_7CanTypeE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE12getOpASTTypeENS_7CanTypeE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
16
  CanType getOpASTType(CanType ty) {
247
16
    ty = getASTTypeInClonedContext(ty);
248
16
    return asImpl().remapASTType(ty);
249
16
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
564
  CanType getOpASTType(CanType ty) {
247
564
    ty = getASTTypeInClonedContext(ty);
248
564
    return asImpl().remapASTType(ty);
249
564
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
1.20k
  CanType getOpASTType(CanType ty) {
247
1.20k
    ty = getASTTypeInClonedContext(ty);
248
1.20k
    return asImpl().remapASTType(ty);
249
1.20k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
1
  CanType getOpASTType(CanType ty) {
247
1
    ty = getASTTypeInClonedContext(ty);
248
1
    return asImpl().remapASTType(ty);
249
1
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
40
  CanType getOpASTType(CanType ty) {
247
40
    ty = getASTTypeInClonedContext(ty);
248
40
    return asImpl().remapASTType(ty);
249
40
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
8
  CanType getOpASTType(CanType ty) {
247
8
    ty = getASTTypeInClonedContext(ty);
248
8
    return asImpl().remapASTType(ty);
249
8
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE12getOpASTTypeENS_7CanTypeE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
24
  CanType getOpASTType(CanType ty) {
247
24
    ty = getASTTypeInClonedContext(ty);
248
24
    return asImpl().remapASTType(ty);
249
24
  }
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE12getOpASTTypeENS_7CanTypeE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE12getOpASTTypeENS_7CanTypeE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE12getOpASTTypeENS_7CanTypeE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
14
  CanType getOpASTType(CanType ty) {
247
14
    ty = getASTTypeInClonedContext(ty);
248
14
    return asImpl().remapASTType(ty);
249
14
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE12getOpASTTypeENS_7CanTypeE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE12getOpASTTypeENS_7CanTypeE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
13
  CanType getOpASTType(CanType ty) {
247
13
    ty = getASTTypeInClonedContext(ty);
248
13
    return asImpl().remapASTType(ty);
249
13
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
185
  CanType getOpASTType(CanType ty) {
247
185
    ty = getASTTypeInClonedContext(ty);
248
185
    return asImpl().remapASTType(ty);
249
185
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE12getOpASTTypeENS_7CanTypeE
_ZN5swift9SILClonerINS_13GenericClonerEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
35.9k
  CanType getOpASTType(CanType ty) {
247
35.9k
    ty = getASTTypeInClonedContext(ty);
248
35.9k
    return asImpl().remapASTType(ty);
249
35.9k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
32.2k
  CanType getOpASTType(CanType ty) {
247
32.2k
    ty = getASTTypeInClonedContext(ty);
248
32.2k
    return asImpl().remapASTType(ty);
249
32.2k
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE12getOpASTTypeENS_7CanTypeE
Line
Count
Source
246
13
  CanType getOpASTType(CanType ty) {
247
13
    ty = getASTTypeInClonedContext(ty);
248
13
    return asImpl().remapASTType(ty);
249
13
  }
250
251
  /// Remap a structural index into a pack so that it will point to the
252
  /// corresponding structural index in the remapped pack type.
253
  unsigned getOpStructuralPackIndex(CanPackType origPackType,
254
0
                                    unsigned origIndex) {
255
0
    assert(origIndex < origPackType->getNumElements());
256
0
    unsigned newIndex = 0;
257
0
    for (unsigned i = 0; i != origIndex; ++i) {
258
0
      auto origComponentType = origPackType.getElementType(i);
259
0
      if (auto origExpansionType =
260
0
            dyn_cast<PackExpansionType>(origComponentType)) {
261
0
        auto newShapeClass = getOpASTType(origExpansionType.getCountType());
262
0
        if (auto newShapePack = dyn_cast<PackType>(newShapeClass))
263
0
          newIndex += newShapePack->getNumElements();
264
0
        else
265
0
          newIndex++;
266
0
      } else {
267
0
        newIndex++;
268
0
      }
269
0
    }
270
0
    return newIndex;
271
0
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24getOpStructuralPackIndexENS_14CanTypeWrapperINS_8PackTypeEEEj
272
273
  /// Does type substitution make the given tuple type no longer a tuple?
274
0
  bool doesOpTupleDisappear(CanTupleType type) {
275
    // Fast-path the empty tuple.
276
0
    if (type->getNumElements() == 0) return false;
277
278
    // Do a first pass over the tuple elements to check out the
279
    // non-expansions.  If there's more than one of them we definitely
280
    // stay a tuple and don't need to substitute any of the expansions.
281
0
    unsigned numScalarElements = type->getNumScalarElements();
282
0
    if (numScalarElements > 1)
283
0
      return false;
284
285
    // Okay, we need to substitute the count types for the expansions.
286
0
    for (auto index : indices(type->getElements())) {
287
      // Ignore non-expansions because we've already counted them.
288
0
      auto expansion = dyn_cast<PackExpansionType>(type.getElementType(index));
289
0
      if (!expansion) {
290
        // If we have a non-expansion with a label, we stay a tuple.
291
0
        if (type->getElement(index).hasName())
292
0
          return false;
293
0
        continue;
294
0
      }
295
296
      // Substitute the shape class of the expansion.
297
0
      auto newShapeClass = getOpASTType(expansion.getCountType());
298
0
      auto newShapePack = dyn_cast<PackType>(newShapeClass);
299
300
      // If the element has a name, then the tuple sticks around unless
301
      // the expansion disappears completely.
302
0
      if (type->getElement(index).hasName()) {
303
0
        if (newShapePack && newShapePack->getNumElements() == 0)
304
0
          continue;
305
0
        return false;
306
0
      }
307
308
      // Otherwise, walk the substituted shape components.
309
0
      for (auto newShapeElement : newShapePack.getElementTypes()) {
310
        // If there's an expansion in the shape, we'll have an expansion
311
        // in the tuple elements, which forces the tuple structure to remain.
312
0
        if (isa<PackExpansionType>(newShapeElement)) return false;
313
314
        // Otherwise, add another scalar element.
315
0
        if (++numScalarElements > 1) return false;
316
0
      }
317
0
    }
318
319
    // All of the packs expanded to scalars.  We should've short-circuited
320
    // if we ever saw a second or labeled scalar, so all we need to test
321
    // is whether we have exactly one scalar.
322
0
    assert(numScalarElements <= 1);
323
0
    return numScalarElements == 1;
324
0
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20doesOpTupleDisappearENS_14CanTypeWrapperINS_9TupleTypeEEE
325
326
4.93k
  void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) {
327
4.93k
    assert(archetypeTy->isRoot());
328
329
0
    auto sig = Builder.getFunction().getGenericSignature();
330
4.93k
    auto origExistentialTy = archetypeTy->getExistentialType()
331
4.93k
        ->getCanonicalType();
332
4.93k
    auto substExistentialTy = getOpASTType(origExistentialTy);
333
4.93k
    auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig);
334
4.93k
    registerLocalArchetypeRemapping(archetypeTy, replacementTy);
335
4.93k
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Line
Count
Source
326
1
  void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) {
327
1
    assert(archetypeTy->isRoot());
328
329
0
    auto sig = Builder.getFunction().getGenericSignature();
330
1
    auto origExistentialTy = archetypeTy->getExistentialType()
331
1
        ->getCanonicalType();
332
1
    auto substExistentialTy = getOpASTType(origExistentialTy);
333
1
    auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig);
334
1
    registerLocalArchetypeRemapping(archetypeTy, replacementTy);
335
1
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Line
Count
Source
326
244
  void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) {
327
244
    assert(archetypeTy->isRoot());
328
329
0
    auto sig = Builder.getFunction().getGenericSignature();
330
244
    auto origExistentialTy = archetypeTy->getExistentialType()
331
244
        ->getCanonicalType();
332
244
    auto substExistentialTy = getOpASTType(origExistentialTy);
333
244
    auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig);
334
244
    registerLocalArchetypeRemapping(archetypeTy, replacementTy);
335
244
  }
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Line
Count
Source
326
2
  void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) {
327
2
    assert(archetypeTy->isRoot());
328
329
0
    auto sig = Builder.getFunction().getGenericSignature();
330
2
    auto origExistentialTy = archetypeTy->getExistentialType()
331
2
        ->getCanonicalType();
332
2
    auto substExistentialTy = getOpASTType(origExistentialTy);
333
2
    auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig);
334
2
    registerLocalArchetypeRemapping(archetypeTy, replacementTy);
335
2
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Line
Count
Source
326
5
  void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) {
327
5
    assert(archetypeTy->isRoot());
328
329
0
    auto sig = Builder.getFunction().getGenericSignature();
330
5
    auto origExistentialTy = archetypeTy->getExistentialType()
331
5
        ->getCanonicalType();
332
5
    auto substExistentialTy = getOpASTType(origExistentialTy);
333
5
    auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig);
334
5
    registerLocalArchetypeRemapping(archetypeTy, replacementTy);
335
5
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Line
Count
Source
326
4
  void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) {
327
4
    assert(archetypeTy->isRoot());
328
329
0
    auto sig = Builder.getFunction().getGenericSignature();
330
4
    auto origExistentialTy = archetypeTy->getExistentialType()
331
4
        ->getCanonicalType();
332
4
    auto substExistentialTy = getOpASTType(origExistentialTy);
333
4
    auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig);
334
4
    registerLocalArchetypeRemapping(archetypeTy, replacementTy);
335
4
  }
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Line
Count
Source
326
6
  void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) {
327
6
    assert(archetypeTy->isRoot());
328
329
0
    auto sig = Builder.getFunction().getGenericSignature();
330
6
    auto origExistentialTy = archetypeTy->getExistentialType()
331
6
        ->getCanonicalType();
332
6
    auto substExistentialTy = getOpASTType(origExistentialTy);
333
6
    auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig);
334
6
    registerLocalArchetypeRemapping(archetypeTy, replacementTy);
335
6
  }
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
_ZN5swift9SILClonerINS_13GenericClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Line
Count
Source
326
1.64k
  void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) {
327
1.64k
    assert(archetypeTy->isRoot());
328
329
0
    auto sig = Builder.getFunction().getGenericSignature();
330
1.64k
    auto origExistentialTy = archetypeTy->getExistentialType()
331
1.64k
        ->getCanonicalType();
332
1.64k
    auto substExistentialTy = getOpASTType(origExistentialTy);
333
1.64k
    auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig);
334
1.64k
    registerLocalArchetypeRemapping(archetypeTy, replacementTy);
335
1.64k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
Line
Count
Source
326
3.03k
  void remapRootOpenedType(CanOpenedArchetypeType archetypeTy) {
327
3.03k
    assert(archetypeTy->isRoot());
328
329
0
    auto sig = Builder.getFunction().getGenericSignature();
330
3.03k
    auto origExistentialTy = archetypeTy->getExistentialType()
331
3.03k
        ->getCanonicalType();
332
3.03k
    auto substExistentialTy = getOpASTType(origExistentialTy);
333
3.03k
    auto replacementTy = OpenedArchetypeType::get(substExistentialTy, sig);
334
3.03k
    registerLocalArchetypeRemapping(archetypeTy, replacementTy);
335
3.03k
  }
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19remapRootOpenedTypeENS_14CanTypeWrapperINS_19OpenedArchetypeTypeEEE
336
337
  // SILCloner will take care of debug scope on the instruction
338
  // and this helper will remap the auxiliary debug scope too, if there is any.
339
173k
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
173k
    if (!DbgVarInst)
341
0
      return;
342
173k
    auto VarInfo = DbgVarInst.getVarInfo();
343
173k
    if (VarInfo && VarInfo->Scope)
344
2.50k
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
173k
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
1
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
1
    if (!DbgVarInst)
341
0
      return;
342
1
    auto VarInfo = DbgVarInst.getVarInfo();
343
1
    if (VarInfo && VarInfo->Scope)
344
0
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
1
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
854
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
854
    if (!DbgVarInst)
341
0
      return;
342
854
    auto VarInfo = DbgVarInst.getVarInfo();
343
854
    if (VarInfo && VarInfo->Scope)
344
0
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
854
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
3.75k
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
3.75k
    if (!DbgVarInst)
341
0
      return;
342
3.75k
    auto VarInfo = DbgVarInst.getVarInfo();
343
3.75k
    if (VarInfo && VarInfo->Scope)
344
0
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
3.75k
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
3.89k
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
3.89k
    if (!DbgVarInst)
341
0
      return;
342
3.89k
    auto VarInfo = DbgVarInst.getVarInfo();
343
3.89k
    if (VarInfo && VarInfo->Scope)
344
135
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
3.89k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
370
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
370
    if (!DbgVarInst)
341
0
      return;
342
370
    auto VarInfo = DbgVarInst.getVarInfo();
343
370
    if (VarInfo && VarInfo->Scope)
344
0
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
370
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
1.50k
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
1.50k
    if (!DbgVarInst)
341
0
      return;
342
1.50k
    auto VarInfo = DbgVarInst.getVarInfo();
343
1.50k
    if (VarInfo && VarInfo->Scope)
344
55
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
1.50k
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
86
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
86
    if (!DbgVarInst)
341
0
      return;
342
86
    auto VarInfo = DbgVarInst.getVarInfo();
343
86
    if (VarInfo && VarInfo->Scope)
344
1
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
86
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
82
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
82
    if (!DbgVarInst)
341
0
      return;
342
82
    auto VarInfo = DbgVarInst.getVarInfo();
343
82
    if (VarInfo && VarInfo->Scope)
344
0
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
82
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
27
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
27
    if (!DbgVarInst)
341
0
      return;
342
27
    auto VarInfo = DbgVarInst.getVarInfo();
343
27
    if (VarInfo && VarInfo->Scope)
344
27
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
27
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
68
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
68
    if (!DbgVarInst)
341
0
      return;
342
68
    auto VarInfo = DbgVarInst.getVarInfo();
343
68
    if (VarInfo && VarInfo->Scope)
344
0
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
68
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
1.54k
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
1.54k
    if (!DbgVarInst)
341
0
      return;
342
1.54k
    auto VarInfo = DbgVarInst.getVarInfo();
343
1.54k
    if (VarInfo && VarInfo->Scope)
344
49
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
1.54k
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
101
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
101
    if (!DbgVarInst)
341
0
      return;
342
101
    auto VarInfo = DbgVarInst.getVarInfo();
343
101
    if (VarInfo && VarInfo->Scope)
344
2
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
101
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
2
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
2
    if (!DbgVarInst)
341
0
      return;
342
2
    auto VarInfo = DbgVarInst.getVarInfo();
343
2
    if (VarInfo && VarInfo->Scope)
344
0
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
2
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
_ZN5swift9SILClonerINS_13GenericClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
56.4k
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
56.4k
    if (!DbgVarInst)
341
0
      return;
342
56.4k
    auto VarInfo = DbgVarInst.getVarInfo();
343
56.4k
    if (VarInfo && VarInfo->Scope)
344
512
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
56.4k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
104k
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
104k
    if (!DbgVarInst)
341
0
      return;
342
104k
    auto VarInfo = DbgVarInst.getVarInfo();
343
104k
    if (VarInfo && VarInfo->Scope)
344
1.68k
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
104k
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17remapDebugVarInfoENS_20DebugVarCarryingInstE
Line
Count
Source
339
77
  void remapDebugVarInfo(DebugVarCarryingInst DbgVarInst) {
340
77
    if (!DbgVarInst)
341
0
      return;
342
77
    auto VarInfo = DbgVarInst.getVarInfo();
343
77
    if (VarInfo && VarInfo->Scope)
344
37
      DbgVarInst.setDebugVarScope(getOpScope(VarInfo->Scope));
345
77
  }
346
347
  ProtocolConformanceRef getOpConformance(Type ty,
348
51.1k
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
51.1k
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
2.62k
      conformance =
352
2.62k
        conformance.subst(ty,
353
2.62k
                          QueryTypeSubstitutionMapOrIdentity{
354
2.62k
                                                        LocalArchetypeSubs},
355
2.62k
                          MakeAbstractConformanceForGenericType());
356
2.62k
    }
357
358
51.1k
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
51.1k
                                     conformance);
360
51.1k
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
348
14
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
14
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
0
      conformance =
352
0
        conformance.subst(ty,
353
0
                          QueryTypeSubstitutionMapOrIdentity{
354
0
                                                        LocalArchetypeSubs},
355
0
                          MakeAbstractConformanceForGenericType());
356
0
    }
357
358
14
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
14
                                     conformance);
360
14
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
348
52
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
52
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
1
      conformance =
352
1
        conformance.subst(ty,
353
1
                          QueryTypeSubstitutionMapOrIdentity{
354
1
                                                        LocalArchetypeSubs},
355
1
                          MakeAbstractConformanceForGenericType());
356
1
    }
357
358
52
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
52
                                     conformance);
360
52
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
348
285
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
285
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
233
      conformance =
352
233
        conformance.subst(ty,
353
233
                          QueryTypeSubstitutionMapOrIdentity{
354
233
                                                        LocalArchetypeSubs},
355
233
                          MakeAbstractConformanceForGenericType());
356
233
    }
357
358
285
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
285
                                     conformance);
360
285
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
348
1
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
1
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
0
      conformance =
352
0
        conformance.subst(ty,
353
0
                          QueryTypeSubstitutionMapOrIdentity{
354
0
                                                        LocalArchetypeSubs},
355
0
                          MakeAbstractConformanceForGenericType());
356
0
    }
357
358
1
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
1
                                     conformance);
360
1
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
348
3
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
3
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
2
      conformance =
352
2
        conformance.subst(ty,
353
2
                          QueryTypeSubstitutionMapOrIdentity{
354
2
                                                        LocalArchetypeSubs},
355
2
                          MakeAbstractConformanceForGenericType());
356
2
    }
357
358
3
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
3
                                     conformance);
360
3
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
348
1
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
1
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
0
      conformance =
352
0
        conformance.subst(ty,
353
0
                          QueryTypeSubstitutionMapOrIdentity{
354
0
                                                        LocalArchetypeSubs},
355
0
                          MakeAbstractConformanceForGenericType());
356
0
    }
357
358
1
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
1
                                     conformance);
360
1
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
348
6
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
6
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
6
      conformance =
352
6
        conformance.subst(ty,
353
6
                          QueryTypeSubstitutionMapOrIdentity{
354
6
                                                        LocalArchetypeSubs},
355
6
                          MakeAbstractConformanceForGenericType());
356
6
    }
357
358
6
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
6
                                     conformance);
360
6
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
348
183
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
183
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
183
      conformance =
352
183
        conformance.subst(ty,
353
183
                          QueryTypeSubstitutionMapOrIdentity{
354
183
                                                        LocalArchetypeSubs},
355
183
                          MakeAbstractConformanceForGenericType());
356
183
    }
357
358
183
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
183
                                     conformance);
360
183
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
_ZN5swift9SILClonerINS_13GenericClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
348
24.6k
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
24.6k
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
905
      conformance =
352
905
        conformance.subst(ty,
353
905
                          QueryTypeSubstitutionMapOrIdentity{
354
905
                                                        LocalArchetypeSubs},
355
905
                          MakeAbstractConformanceForGenericType());
356
905
    }
357
358
24.6k
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
24.6k
                                     conformance);
360
24.6k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
348
25.9k
                                          ProtocolConformanceRef conformance) {
349
    // If we have local archetypes to substitute, do so now.
350
25.9k
    if (ty->hasLocalArchetype() && !LocalArchetypeSubs.empty()) {
351
1.29k
      conformance =
352
1.29k
        conformance.subst(ty,
353
1.29k
                          QueryTypeSubstitutionMapOrIdentity{
354
1.29k
                                                        LocalArchetypeSubs},
355
1.29k
                          MakeAbstractConformanceForGenericType());
356
1.29k
    }
357
358
25.9k
    return asImpl().remapConformance(getASTTypeInClonedContext(ty),
359
25.9k
                                     conformance);
360
25.9k
  }
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE16getOpConformanceENS_4TypeENS_22ProtocolConformanceRefE
361
362
  ArrayRef<ProtocolConformanceRef>
363
  getOpConformances(Type ty,
364
7.28k
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
7.28k
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
7.28k
    for (auto conformance : conformances)
367
1.72k
      newConformances.push_back(getOpConformance(ty, conformance));
368
7.28k
    return ty->getASTContext().AllocateCopy(newConformances);
369
7.28k
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
1
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
1
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
1
    for (auto conformance : conformances)
367
0
      newConformances.push_back(getOpConformance(ty, conformance));
368
1
    return ty->getASTContext().AllocateCopy(newConformances);
369
1
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
104
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
104
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
104
    for (auto conformance : conformances)
367
35
      newConformances.push_back(getOpConformance(ty, conformance));
368
104
    return ty->getASTContext().AllocateCopy(newConformances);
369
104
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
1
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
1
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
1
    for (auto conformance : conformances)
367
1
      newConformances.push_back(getOpConformance(ty, conformance));
368
1
    return ty->getASTContext().AllocateCopy(newConformances);
369
1
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
47
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
47
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
47
    for (auto conformance : conformances)
367
1
      newConformances.push_back(getOpConformance(ty, conformance));
368
47
    return ty->getASTContext().AllocateCopy(newConformances);
369
47
  }
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
2
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
2
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
2
    for (auto conformance : conformances)
367
0
      newConformances.push_back(getOpConformance(ty, conformance));
368
2
    return ty->getASTContext().AllocateCopy(newConformances);
369
2
  }
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
6
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
6
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
6
    for (auto conformance : conformances)
367
0
      newConformances.push_back(getOpConformance(ty, conformance));
368
6
    return ty->getASTContext().AllocateCopy(newConformances);
369
6
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
1
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
1
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
1
    for (auto conformance : conformances)
367
0
      newConformances.push_back(getOpConformance(ty, conformance));
368
1
    return ty->getASTContext().AllocateCopy(newConformances);
369
1
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
2
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
2
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
2
    for (auto conformance : conformances)
367
0
      newConformances.push_back(getOpConformance(ty, conformance));
368
2
    return ty->getASTContext().AllocateCopy(newConformances);
369
2
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
_ZN5swift9SILClonerINS_13GenericClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
3.95k
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
3.95k
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
3.95k
    for (auto conformance : conformances)
367
1.17k
      newConformances.push_back(getOpConformance(ty, conformance));
368
3.95k
    return ty->getASTContext().AllocateCopy(newConformances);
369
3.95k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
3.14k
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
3.14k
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
3.14k
    for (auto conformance : conformances)
367
508
      newConformances.push_back(getOpConformance(ty, conformance));
368
3.14k
    return ty->getASTContext().AllocateCopy(newConformances);
369
3.14k
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17getOpConformancesENS_4TypeEN4llvm8ArrayRefINS_22ProtocolConformanceRefEEE
Line
Count
Source
364
13
                    ArrayRef<ProtocolConformanceRef> conformances) {
365
13
    SmallVector<ProtocolConformanceRef, 4> newConformances;
366
13
    for (auto conformance : conformances)
367
0
      newConformances.push_back(getOpConformance(ty, conformance));
368
13
    return ty->getASTContext().AllocateCopy(newConformances);
369
13
  }
370
371
4.24k
  bool isValueCloned(SILValue OrigValue) const {
372
4.24k
    return ValueMap.count(OrigValue);
373
4.24k
  }
CapturePropagation.cpp:_ZNK5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13isValueClonedENS_8SILValueE
Line
Count
Source
371
198
  bool isValueCloned(SILValue OrigValue) const {
372
198
    return ValueMap.count(OrigValue);
373
198
  }
_ZNK5swift9SILClonerINS_23ClonerWithFixedLocationEE13isValueClonedENS_8SILValueE
Line
Count
Source
371
4.04k
  bool isValueCloned(SILValue OrigValue) const {
372
4.04k
    return ValueMap.count(OrigValue);
373
4.04k
  }
374
375
  /// Return the possibly new value representing the given value within the
376
  /// cloned region.
377
  ///
378
  /// Assumes that `isValueCloned` is true.
379
2.63M
  SILValue getOpValue(SILValue Value) {
380
2.63M
    return asImpl().getMappedValue(Value);
381
2.63M
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE10getOpValueENS_8SILValueE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
3
  SILValue getOpValue(SILValue Value) {
380
3
    return asImpl().getMappedValue(Value);
381
3
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE10getOpValueENS_8SILValueE
Line
Count
Source
379
4.71k
  SILValue getOpValue(SILValue Value) {
380
4.71k
    return asImpl().getMappedValue(Value);
381
4.71k
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE10getOpValueENS_8SILValueE
Line
Count
Source
379
21.6k
  SILValue getOpValue(SILValue Value) {
380
21.6k
    return asImpl().getMappedValue(Value);
381
21.6k
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
15.4k
  SILValue getOpValue(SILValue Value) {
380
15.4k
    return asImpl().getMappedValue(Value);
381
15.4k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
1.10k
  SILValue getOpValue(SILValue Value) {
380
1.10k
    return asImpl().getMappedValue(Value);
381
1.10k
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
26.9k
  SILValue getOpValue(SILValue Value) {
380
26.9k
    return asImpl().getMappedValue(Value);
381
26.9k
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE10getOpValueENS_8SILValueE
Line
Count
Source
379
302
  SILValue getOpValue(SILValue Value) {
380
302
    return asImpl().getMappedValue(Value);
381
302
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE10getOpValueENS_8SILValueE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
472
  SILValue getOpValue(SILValue Value) {
380
472
    return asImpl().getMappedValue(Value);
381
472
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
20.4k
  SILValue getOpValue(SILValue Value) {
380
20.4k
    return asImpl().getMappedValue(Value);
381
20.4k
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
430
  SILValue getOpValue(SILValue Value) {
380
430
    return asImpl().getMappedValue(Value);
381
430
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE10getOpValueENS_8SILValueE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
31.8k
  SILValue getOpValue(SILValue Value) {
380
31.8k
    return asImpl().getMappedValue(Value);
381
31.8k
  }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE10getOpValueENS_8SILValueE
Line
Count
Source
379
235
  SILValue getOpValue(SILValue Value) {
380
235
    return asImpl().getMappedValue(Value);
381
235
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE10getOpValueENS_8SILValueE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
650
  SILValue getOpValue(SILValue Value) {
380
650
    return asImpl().getMappedValue(Value);
381
650
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
489
  SILValue getOpValue(SILValue Value) {
380
489
    return asImpl().getMappedValue(Value);
381
489
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE10getOpValueENS_8SILValueE
_ZN5swift9SILClonerINS_13GenericClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
779k
  SILValue getOpValue(SILValue Value) {
380
779k
    return asImpl().getMappedValue(Value);
381
779k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
1.72M
  SILValue getOpValue(SILValue Value) {
380
1.72M
    return asImpl().getMappedValue(Value);
381
1.72M
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE10getOpValueENS_8SILValueE
Line
Count
Source
379
5.15k
  SILValue getOpValue(SILValue Value) {
380
5.15k
    return asImpl().getMappedValue(Value);
381
5.15k
  }
382
  template <size_t N, typename ArrayRefType>
383
4.05M
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
4.05M
    SmallVector<SILValue, N> Ret(Values.size());
385
9.68M
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
5.63M
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
4.05M
    return Ret;
388
4.05M
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_
Line
Count
Source
383
1
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
1
    SmallVector<SILValue, N> Ret(Values.size());
385
2
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
1
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
1
    return Ret;
388
1
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS7_ELb0EEEEEN4llvm11SmallVectorIS8_XT_EEET0_
Line
Count
Source
383
192
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
192
    SmallVector<SILValue, N> Ret(Values.size());
385
470
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
278
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
192
    return Ret;
388
192
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS7_ELb0EEEEEN4llvm11SmallVectorIS8_XT_EEET0_
Line
Count
Source
383
1.48k
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
1.48k
    SmallVector<SILValue, N> Ret(Values.size());
385
3.64k
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
2.16k
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
1.48k
    return Ret;
388
1.48k
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
Line
Count
Source
383
8.84k
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
8.84k
    SmallVector<SILValue, N> Ret(Values.size());
385
19.0k
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
10.2k
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
8.84k
    return Ret;
388
8.84k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
Line
Count
Source
383
476
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
476
    SmallVector<SILValue, N> Ret(Values.size());
385
1.25k
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
776
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
476
    return Ret;
388
476
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
Line
Count
Source
383
36.5k
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
36.5k
    SmallVector<SILValue, N> Ret(Values.size());
385
87.2k
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
50.7k
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
36.5k
    return Ret;
388
36.5k
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
Line
Count
Source
383
87
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
87
    SmallVector<SILValue, N> Ret(Values.size());
385
186
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
99
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
87
    return Ret;
388
87
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
Line
Count
Source
383
280
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
280
    SmallVector<SILValue, N> Ret(Values.size());
385
624
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
344
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
280
    return Ret;
388
280
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
Line
Count
Source
383
31.4k
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
31.4k
    SmallVector<SILValue, N> Ret(Values.size());
385
81.2k
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
49.7k
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
31.4k
    return Ret;
388
31.4k
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
Line
Count
Source
383
80
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
80
    SmallVector<SILValue, N> Ret(Values.size());
385
188
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
108
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
80
    return Ret;
388
80
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_
Line
Count
Source
383
76.5k
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
76.5k
    SmallVector<SILValue, N> Ret(Values.size());
385
100k
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
24.0k
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
76.5k
    return Ret;
388
76.5k
  }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_
Line
Count
Source
383
1.60k
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
1.60k
    SmallVector<SILValue, N> Ret(Values.size());
385
4.11k
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
2.51k
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
1.60k
    return Ret;
388
1.60k
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
Line
Count
Source
383
216
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
216
    SmallVector<SILValue, N> Ret(Values.size());
385
623
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
407
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
216
    return Ret;
388
216
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
Line
Count
Source
383
486
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
486
    SmallVector<SILValue, N> Ret(Values.size());
385
1.49k
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
1.01k
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
486
    return Ret;
388
486
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
_ZN5swift9SILClonerINS_13GenericClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_
Line
Count
Source
383
966k
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
966k
    SmallVector<SILValue, N> Ret(Values.size());
385
2.17M
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
1.20M
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
966k
    return Ret;
388
966k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS5_ELb0EEEEEN4llvm11SmallVectorIS6_XT_EEET0_
Line
Count
Source
383
2.92M
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
2.92M
    SmallVector<SILValue, N> Ret(Values.size());
385
7.20M
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
4.27M
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
2.92M
    return Ret;
388
2.92M
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15getOpValueArrayILm8ENS_12ArrayRefViewINS_7OperandENS_8SILValueEL_ZNS_15getSILValueTypeERKS6_ELb0EEEEEN4llvm11SmallVectorIS7_XT_EEET0_
Line
Count
Source
383
5.42k
  SmallVector<SILValue, N> getOpValueArray(ArrayRefType Values) {
384
5.42k
    SmallVector<SILValue, N> Ret(Values.size());
385
11.1k
    for (unsigned i = 0, e = Values.size(); i != e; ++i)
386
5.71k
      Ret[i] = asImpl().getMappedValue(Values[i]);
387
5.42k
    return Ret;
388
5.42k
  }
389
390
375k
  SILFunction *getOpFunction(SILFunction *Func) {
391
375k
    return asImpl().remapFunction(Func);
392
375k
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13getOpFunctionEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
1
  SILFunction *getOpFunction(SILFunction *Func) {
391
1
    return asImpl().remapFunction(Func);
392
1
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
521
  SILFunction *getOpFunction(SILFunction *Func) {
391
521
    return asImpl().remapFunction(Func);
392
521
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
2.34k
  SILFunction *getOpFunction(SILFunction *Func) {
391
2.34k
    return asImpl().remapFunction(Func);
392
2.34k
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
1.77k
  SILFunction *getOpFunction(SILFunction *Func) {
391
1.77k
    return asImpl().remapFunction(Func);
392
1.77k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
218
  SILFunction *getOpFunction(SILFunction *Func) {
391
218
    return asImpl().remapFunction(Func);
392
218
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
2.82k
  SILFunction *getOpFunction(SILFunction *Func) {
391
2.82k
    return asImpl().remapFunction(Func);
392
2.82k
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
39
  SILFunction *getOpFunction(SILFunction *Func) {
391
39
    return asImpl().remapFunction(Func);
392
39
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13getOpFunctionEPNS_11SILFunctionE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
36
  SILFunction *getOpFunction(SILFunction *Func) {
391
36
    return asImpl().remapFunction(Func);
392
36
  }
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13getOpFunctionEPNS_11SILFunctionE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
58
  SILFunction *getOpFunction(SILFunction *Func) {
391
58
    return asImpl().remapFunction(Func);
392
58
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13getOpFunctionEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
3
  SILFunction *getOpFunction(SILFunction *Func) {
391
3
    return asImpl().remapFunction(Func);
392
3
  }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
92
  SILFunction *getOpFunction(SILFunction *Func) {
391
92
    return asImpl().remapFunction(Func);
392
92
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13getOpFunctionEPNS_11SILFunctionE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
142
  SILFunction *getOpFunction(SILFunction *Func) {
391
142
    return asImpl().remapFunction(Func);
392
142
  }
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13getOpFunctionEPNS_11SILFunctionE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13getOpFunctionEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_13GenericClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
92.9k
  SILFunction *getOpFunction(SILFunction *Func) {
391
92.9k
    return asImpl().remapFunction(Func);
392
92.9k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
274k
  SILFunction *getOpFunction(SILFunction *Func) {
391
274k
    return asImpl().remapFunction(Func);
392
274k
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13getOpFunctionEPNS_11SILFunctionE
Line
Count
Source
390
2
  SILFunction *getOpFunction(SILFunction *Func) {
391
2
    return asImpl().remapFunction(Func);
392
2
  }
393
394
56.5k
  bool isBlockCloned(SILBasicBlock *OrigBB) const {
395
56.5k
    auto bbIter = BBMap.find(OrigBB);
396
56.5k
    if (bbIter == BBMap.end())
397
17.1k
      return false;
398
399
    // Exit blocks are mapped to themselves during region cloning.
400
39.4k
    return bbIter->second != OrigBB;
401
56.5k
  }
ArrayPropertyOpt.cpp:_ZNK5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13isBlockClonedEPNS_13SILBasicBlockE
Line
Count
Source
394
613
  bool isBlockCloned(SILBasicBlock *OrigBB) const {
395
613
    auto bbIter = BBMap.find(OrigBB);
396
613
    if (bbIter == BBMap.end())
397
3
      return false;
398
399
    // Exit blocks are mapped to themselves during region cloning.
400
610
    return bbIter->second != OrigBB;
401
613
  }
_ZNK5swift9SILClonerINS_16BasicBlockClonerEE13isBlockClonedEPNS_13SILBasicBlockE
Line
Count
Source
394
55.9k
  bool isBlockCloned(SILBasicBlock *OrigBB) const {
395
55.9k
    auto bbIter = BBMap.find(OrigBB);
396
55.9k
    if (bbIter == BBMap.end())
397
17.1k
      return false;
398
399
    // Exit blocks are mapped to themselves during region cloning.
400
38.8k
    return bbIter->second != OrigBB;
401
55.9k
  }
402
403
  /// Return the new block within the cloned region analagous to the given
404
  /// original block.
405
  ///
406
  /// Assumes that `isBlockCloned` is true.
407
1.31M
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
1.31M
    return asImpl().remapBasicBlock(BB);
409
1.31M
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15getOpBasicBlockEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
658
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
658
    return asImpl().remapBasicBlock(BB);
409
658
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
5.28k
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
5.28k
    return asImpl().remapBasicBlock(BB);
409
5.28k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
70
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
70
    return asImpl().remapBasicBlock(BB);
409
70
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
13.9k
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
13.9k
    return asImpl().remapBasicBlock(BB);
409
13.9k
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
26
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
26
    return asImpl().remapBasicBlock(BB);
409
26
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
372
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
372
    return asImpl().remapBasicBlock(BB);
409
372
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
15.7k
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
15.7k
    return asImpl().remapBasicBlock(BB);
409
15.7k
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
36
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
36
    return asImpl().remapBasicBlock(BB);
409
36
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
73.6k
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
73.6k
    return asImpl().remapBasicBlock(BB);
409
73.6k
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15getOpBasicBlockEPNS_13SILBasicBlockE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
55
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
55
    return asImpl().remapBasicBlock(BB);
409
55
  }
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15getOpBasicBlockEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_13GenericClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
385k
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
385k
    return asImpl().remapBasicBlock(BB);
409
385k
  }
_ZN5swift9SILClonerINS_15SILInlineClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
819k
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
819k
    return asImpl().remapBasicBlock(BB);
409
819k
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15getOpBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
407
2.37k
  SILBasicBlock *getOpBasicBlock(SILBasicBlock *BB) {
408
2.37k
    return asImpl().remapBasicBlock(BB);
409
2.37k
  }
410
411
protected:
412
  /// MARK: CRTP visitors and other CRTP overrides.
413
414
#define INST(CLASS, PARENT) void visit##CLASS(CLASS *I);
415
#include "swift/SIL/SILNodes.def"
416
417
  // Visit the instructions in a single basic block, not including the block
418
  // terminator.
419
  void visitInstructionsInBlock(SILBasicBlock *BB);
420
421
  // Visit a block's terminator. This is called with each block in DFS preorder
422
  // after visiting and mapping all basic blocks and after visiting all
423
  // non-terminator instructions in the block.
424
80.2k
  void visitTerminator(SILBasicBlock *BB) {
425
80.2k
    asImpl().visit(BB->getTerminator());
426
80.2k
  }
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
1
  void visitTerminator(SILBasicBlock *BB) {
425
1
    asImpl().visit(BB->getTerminator());
426
1
  }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
339
  void visitTerminator(SILBasicBlock *BB) {
425
339
    asImpl().visit(BB->getTerminator());
426
339
  }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
1.81k
  void visitTerminator(SILBasicBlock *BB) {
425
1.81k
    asImpl().visit(BB->getTerminator());
426
1.81k
  }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
3.97k
  void visitTerminator(SILBasicBlock *BB) {
425
3.97k
    asImpl().visit(BB->getTerminator());
426
3.97k
  }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
186
  void visitTerminator(SILBasicBlock *BB) {
425
186
    asImpl().visit(BB->getTerminator());
426
186
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
10.7k
  void visitTerminator(SILBasicBlock *BB) {
425
10.7k
    asImpl().visit(BB->getTerminator());
426
10.7k
  }
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
86
  void visitTerminator(SILBasicBlock *BB) {
425
86
    asImpl().visit(BB->getTerminator());
426
86
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
7.87k
  void visitTerminator(SILBasicBlock *BB) {
425
7.87k
    asImpl().visit(BB->getTerminator());
426
7.87k
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
38
  void visitTerminator(SILBasicBlock *BB) {
425
38
    asImpl().visit(BB->getTerminator());
426
38
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitTerminatorEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
55.1k
  void visitTerminator(SILBasicBlock *BB) {
425
55.1k
    asImpl().visit(BB->getTerminator());
426
55.1k
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitTerminatorEPNS_13SILBasicBlockE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitTerminatorEPNS_13SILBasicBlockE
Line
Count
Source
424
49
  void visitTerminator(SILBasicBlock *BB) {
425
49
    asImpl().visit(BB->getTerminator());
426
49
  }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitTerminatorEPNS_13SILBasicBlockE
427
428
  // CFG cloning requires cloneFunction() or cloneReachableBlocks().
429
  void visitSILBasicBlock(SILFunction *F) = delete;
430
431
  // Function cloning requires cloneFunction().
432
  void visitSILFunction(SILFunction *F) = delete;
433
434
  // MARK: SILCloner subclasses use the CRTP to customize the following callback
435
  // implementations. Remap functions are called before cloning to modify
436
  // constructor arguments. The postProcess function is called afterwards on
437
  // the result.
438
439
2.12M
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13remapLocationENS_11SILLocationE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
3
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
3.03k
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
16.1k
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
21.1k
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
65.8k
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
332
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13remapLocationENS_11SILLocationE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
630
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
41.9k
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
520
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13remapLocationENS_11SILLocationE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
84.6k
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13remapLocationENS_11SILLocationE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
972
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
674
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13remapLocationENS_11SILLocationE
_ZN5swift9SILClonerINS_13GenericClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
1.87M
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13remapLocationENS_11SILLocationE
Line
Count
Source
439
10.1k
  SILLocation remapLocation(SILLocation Loc) { return Loc; }
440
140k
  const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE10remapScopeEPKNS_13SILDebugScopeE
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
440
391
  const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; }
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
440
660
  const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
440
42.0k
  const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; }
_ZN5swift9SILClonerINS_16BasicBlockClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
440
86.1k
  const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
440
674
  const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE10remapScopeEPKNS_13SILDebugScopeE
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
440
10.2k
  const SILDebugScope *remapScope(const SILDebugScope *DS) { return DS; }
441
129k
  SILType remapType(SILType Ty) {
442
129k
      return Ty;
443
129k
  }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE9remapTypeENS_7SILTypeE
Line
Count
Source
441
40.9k
  SILType remapType(SILType Ty) {
442
40.9k
      return Ty;
443
40.9k
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE9remapTypeENS_7SILTypeE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE9remapTypeENS_7SILTypeE
Line
Count
Source
441
296
  SILType remapType(SILType Ty) {
442
296
      return Ty;
443
296
  }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE9remapTypeENS_7SILTypeE
Line
Count
Source
441
36.7k
  SILType remapType(SILType Ty) {
442
36.7k
      return Ty;
443
36.7k
  }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE9remapTypeENS_7SILTypeE
Line
Count
Source
441
128
  SILType remapType(SILType Ty) {
442
128
      return Ty;
443
128
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE9remapTypeENS_7SILTypeE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE9remapTypeENS_7SILTypeE
Line
Count
Source
441
42.2k
  SILType remapType(SILType Ty) {
442
42.2k
      return Ty;
443
42.2k
  }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE9remapTypeENS_7SILTypeE
Line
Count
Source
441
2.93k
  SILType remapType(SILType Ty) {
442
2.93k
      return Ty;
443
2.93k
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE9remapTypeENS_7SILTypeE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE9remapTypeENS_7SILTypeE
Line
Count
Source
441
285
  SILType remapType(SILType Ty) {
442
285
      return Ty;
443
285
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE9remapTypeENS_7SILTypeE
Line
Count
Source
441
4
  SILType remapType(SILType Ty) {
442
4
      return Ty;
443
4
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE9remapTypeENS_7SILTypeE
Line
Count
Source
441
6.51k
  SILType remapType(SILType Ty) {
442
6.51k
      return Ty;
443
6.51k
  }
444
445
289
  CanType remapASTType(CanType Ty) {
446
289
    return Ty;
447
289
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE12remapASTTypeENS_7CanTypeE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE12remapASTTypeENS_7CanTypeE
Line
Count
Source
445
40
  CanType remapASTType(CanType Ty) {
446
40
    return Ty;
447
40
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE12remapASTTypeENS_7CanTypeE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE12remapASTTypeENS_7CanTypeE
Line
Count
Source
445
24
  CanType remapASTType(CanType Ty) {
446
24
    return Ty;
447
24
  }
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE12remapASTTypeENS_7CanTypeE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE12remapASTTypeENS_7CanTypeE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE12remapASTTypeENS_7CanTypeE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE12remapASTTypeENS_7CanTypeE
Line
Count
Source
445
14
  CanType remapASTType(CanType Ty) {
446
14
    return Ty;
447
14
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE12remapASTTypeENS_7CanTypeE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE12remapASTTypeENS_7CanTypeE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE12remapASTTypeENS_7CanTypeE
Line
Count
Source
445
13
  CanType remapASTType(CanType Ty) {
446
13
    return Ty;
447
13
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE12remapASTTypeENS_7CanTypeE
Line
Count
Source
445
185
  CanType remapASTType(CanType Ty) {
446
185
    return Ty;
447
185
  }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE12remapASTTypeENS_7CanTypeE
Line
Count
Source
445
13
  CanType remapASTType(CanType Ty) {
446
13
    return Ty;
447
13
  }
448
449
193
  ProtocolConformanceRef remapConformance(Type Ty, ProtocolConformanceRef C) {
450
193
    return C;
451
193
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
449
3
  ProtocolConformanceRef remapConformance(Type Ty, ProtocolConformanceRef C) {
450
3
    return C;
451
3
  }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
449
1
  ProtocolConformanceRef remapConformance(Type Ty, ProtocolConformanceRef C) {
450
1
    return C;
451
1
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
449
6
  ProtocolConformanceRef remapConformance(Type Ty, ProtocolConformanceRef C) {
450
6
    return C;
451
6
  }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
Line
Count
Source
449
183
  ProtocolConformanceRef remapConformance(Type Ty, ProtocolConformanceRef C) {
450
183
    return C;
451
183
  }
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE16remapConformanceENS_4TypeENS_22ProtocolConformanceRefE
452
  /// Get the value that takes the place of the given `Value` within the cloned
453
  /// region. The given value must already have been mapped by this cloner.
454
  SILValue getMappedValue(SILValue Value);
455
  void mapValue(SILValue origValue, SILValue mappedValue);
456
457
375k
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13remapFunctionEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
1
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
521
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
2.34k
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
1.77k
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
218
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
2.82k
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
39
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13remapFunctionEPNS_11SILFunctionE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
36
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13remapFunctionEPNS_11SILFunctionE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
58
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13remapFunctionEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
3
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
92
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13remapFunctionEPNS_11SILFunctionE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
142
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13remapFunctionEPNS_11SILFunctionE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13remapFunctionEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_13GenericClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
92.9k
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
_ZN5swift9SILClonerINS_15SILInlineClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
274k
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13remapFunctionEPNS_11SILFunctionE
Line
Count
Source
457
2
  SILFunction *remapFunction(SILFunction *Func) { return Func; }
458
  SILBasicBlock *remapBasicBlock(SILBasicBlock *BB);
459
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned);
460
461
49.4k
  SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
461
16.4k
  SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
461
154
  SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
461
20.9k
  SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
461
62
  SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
461
7.80k
  SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20remapSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
461
581
  SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
461
160
  SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
461
486
  SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20remapSubstitutionMapENS_15SubstitutionMapE
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20remapSubstitutionMapENS_15SubstitutionMapE
Line
Count
Source
461
2.81k
  SubstitutionMap remapSubstitutionMap(SubstitutionMap Subs) { return Subs; }
462
463
  /// This is called by either of the top-level visitors, cloneReachableBlocks
464
  /// or cloneSILFunction, after all other visitors are have been called.
465
466
  /// `preFixUp` is called first.
467
48.8k
  void preFixUp(SILFunction *F) {}
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
1
  void preFixUp(SILFunction *F) {}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
339
  void preFixUp(SILFunction *F) {}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
1.31k
  void preFixUp(SILFunction *F) {}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
155
  void preFixUp(SILFunction *F) {}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
128
  void preFixUp(SILFunction *F) {}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
249
  void preFixUp(SILFunction *F) {}
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
10
  void preFixUp(SILFunction *F) {}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
2.62k
  void preFixUp(SILFunction *F) {}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
8
  void preFixUp(SILFunction *F) {}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE8preFixUpEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
18.6k
  void preFixUp(SILFunction *F) {}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE8preFixUpEPNS_11SILFunctionE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
5
  void preFixUp(SILFunction *F) {}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE8preFixUpEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_13GenericClonerEE8preFixUpEPNS_11SILFunctionE
Line
Count
Source
467
25.4k
  void preFixUp(SILFunction *F) {}
468
  /// After postFixUp, the SIL must be valid and semantically equivalent to the
469
  /// SIL before cloning.
470
  ///
471
  /// Common fix-ups are handled first in `commonFixUp` and may not be
472
  /// overridden.
473
23.4k
  void postFixUp(SILFunction *F) {}
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
1
  void postFixUp(SILFunction *F) {}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
339
  void postFixUp(SILFunction *F) {}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
1.31k
  void postFixUp(SILFunction *F) {}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
155
  void postFixUp(SILFunction *F) {}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
128
  void postFixUp(SILFunction *F) {}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
249
  void postFixUp(SILFunction *F) {}
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
10
  void postFixUp(SILFunction *F) {}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
2.62k
  void postFixUp(SILFunction *F) {}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
8
  void postFixUp(SILFunction *F) {}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE9postFixUpEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
18.6k
  void postFixUp(SILFunction *F) {}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE9postFixUpEPNS_11SILFunctionE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE9postFixUpEPNS_11SILFunctionE
Line
Count
Source
473
5
  void postFixUp(SILFunction *F) {}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE9postFixUpEPNS_11SILFunctionE
474
475
private:
476
  /// MARK: SILCloner implementation details hidden from CRTP extensions.
477
478
  void clonePhiArgs(SILBasicBlock *oldBB);
479
480
  void visitBlocksDepthFirst(SILBasicBlock *StartBB);
481
482
  /// Also perform fundamental cleanup first, then call the CRTP extension,
483
  /// `postFixUp`.
484
  void commonFixUp(SILFunction *F);
485
};
486
487
/// A SILBuilder that automatically invokes postprocess on each
488
/// inserted instruction.
489
template<class SomeSILCloner, unsigned N = 4>
490
class SILBuilderWithPostProcess : public SILBuilder {
491
  SomeSILCloner &SC;
492
  SILInstruction *Orig;
493
  SmallVector<SILInstruction*, N> InsertedInstrs;
494
495
public:
496
  SILBuilderWithPostProcess(SomeSILCloner *sc, SILInstruction *Orig)
497
    : SILBuilder(sc->getBuilder().getInsertionBB(), &InsertedInstrs),
498
      SC(*sc), Orig(Orig)
499
608
    {
500
608
      setInsertionPoint(SC.getBuilder().getInsertionBB(),
501
608
                        SC.getBuilder().getInsertionPoint());
502
608
    }
Unexecuted instantiation: _ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_8autodiff9JVPCloner14ImplementationENS_21SILOptFunctionBuilderEEELj16EEC2EPS6_PNS_14SILInstructionE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerENS_21SILOptFunctionBuilderEEELj16EEC2EPS5_PNS_14SILInstructionE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerIN12_GLOBAL__N_124CapturePropagationClonerENS_21SILOptFunctionBuilderEEELj16EEC2EPS5_PNS_14SILInstructionE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift25SILBuilderWithPostProcessIN12_GLOBAL__N_113ClosureClonerELj1EEC2EPS2_PNS_14SILInstructionE
Unexecuted instantiation: _ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_20BasicTypeSubstClonerENS_21SILOptFunctionBuilderEEELj16EEC2EPS4_PNS_14SILInstructionE
_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_13GenericClonerENS_21SILOptFunctionBuilderEEELj16EEC2EPS4_PNS_14SILInstructionE
Line
Count
Source
499
598
    {
500
598
      setInsertionPoint(SC.getBuilder().getInsertionBB(),
501
598
                        SC.getBuilder().getInsertionPoint());
502
598
    }
_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_15SILInlineClonerENS_21SILOptFunctionBuilderEEELj16EEC2EPS4_PNS_14SILInstructionE
Line
Count
Source
499
10
    {
500
10
      setInsertionPoint(SC.getBuilder().getInsertionBB(),
501
10
                        SC.getBuilder().getInsertionPoint());
502
10
    }
503
504
608
  ~SILBuilderWithPostProcess() {
505
743
    for (auto *I : InsertedInstrs) {
506
743
      SC.recordClonedInstruction(Orig, I);
507
743
    }
508
608
  }
Unexecuted instantiation: _ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_8autodiff9JVPCloner14ImplementationENS_21SILOptFunctionBuilderEEELj16EED2Ev
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerENS_21SILOptFunctionBuilderEEELj16EED2Ev
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerIN12_GLOBAL__N_124CapturePropagationClonerENS_21SILOptFunctionBuilderEEELj16EED2Ev
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift25SILBuilderWithPostProcessIN12_GLOBAL__N_113ClosureClonerELj1EED2Ev
Unexecuted instantiation: _ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_20BasicTypeSubstClonerENS_21SILOptFunctionBuilderEEELj16EED2Ev
_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_13GenericClonerENS_21SILOptFunctionBuilderEEELj16EED2Ev
Line
Count
Source
504
598
  ~SILBuilderWithPostProcess() {
505
723
    for (auto *I : InsertedInstrs) {
506
723
      SC.recordClonedInstruction(Orig, I);
507
723
    }
508
598
  }
_ZN5swift25SILBuilderWithPostProcessINS_15TypeSubstClonerINS_15SILInlineClonerENS_21SILOptFunctionBuilderEEELj16EED2Ev
Line
Count
Source
504
10
  ~SILBuilderWithPostProcess() {
505
20
    for (auto *I : InsertedInstrs) {
506
20
      SC.recordClonedInstruction(Orig, I);
507
20
    }
508
10
  }
509
};
510
511
512
/// SILClonerWithScopes - a SILCloner that automatically clones
513
/// SILDebugScopes. In contrast to inline scopes, this generates a
514
/// deep copy of the scope tree.
515
template<typename ImplClass>
516
class SILClonerWithScopes : public SILCloner<ImplClass> {
517
  friend class SILCloner<ImplClass>;
518
public:
519
  SILClonerWithScopes(SILFunction &To,
520
                      DominanceInfo *DT = nullptr,
521
                      bool Disable = false)
522
188k
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
188k
    if (Disable)
532
161k
      return;
533
534
27.6k
    scopeCloner.reset(new ScopeCloner(To));
535
27.6k
  }
_ZN5swift19SILClonerWithScopesINS_8autodiff9JVPCloner14ImplementationEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
Line
Count
Source
522
339
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
339
    if (Disable)
532
0
      return;
533
534
339
    scopeCloner.reset(new ScopeCloner(To));
535
339
  }
_ZN5swift19SILClonerWithScopesINS_8autodiff9VJPCloner14ImplementationEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
Line
Count
Source
522
1.31k
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
1.31k
    if (Disable)
532
0
      return;
533
534
1.31k
    scopeCloner.reset(new ScopeCloner(To));
535
1.31k
  }
ExistentialTransform.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_128ExistentialSpecializerClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
Line
Count
Source
522
155
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
155
    if (Disable)
532
0
      return;
533
534
155
    scopeCloner.reset(new ScopeCloner(To));
535
155
  }
CapturePropagation.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_124CapturePropagationClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
Line
Count
Source
522
128
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
128
    if (Disable)
532
0
      return;
533
534
128
    scopeCloner.reset(new ScopeCloner(To));
535
128
  }
ClosureSpecializer.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_117ClosureSpecClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
Line
Count
Source
522
249
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
249
    if (Disable)
532
0
      return;
533
534
249
    scopeCloner.reset(new ScopeCloner(To));
535
249
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_118InitSequenceClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
CapturePromotion.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_113ClosureClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
Line
Count
Source
522
8
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
8
    if (Disable)
532
0
      return;
533
534
8
    scopeCloner.reset(new ScopeCloner(To));
535
8
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
_ZN5swift19SILClonerWithScopesINS_20BasicTypeSubstClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
Line
Count
Source
522
1
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
1
    if (Disable)
532
0
      return;
533
534
1
    scopeCloner.reset(new ScopeCloner(To));
535
1
  }
AllocBoxToStack.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_119PromotedParamClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
Line
Count
Source
522
5
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
5
    if (Disable)
532
0
      return;
533
534
5
    scopeCloner.reset(new ScopeCloner(To));
535
5
  }
_ZN5swift19SILClonerWithScopesINS_13GenericClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
Line
Count
Source
522
25.4k
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
25.4k
    if (Disable)
532
0
      return;
533
534
25.4k
    scopeCloner.reset(new ScopeCloner(To));
535
25.4k
  }
_ZN5swift19SILClonerWithScopesINS_15SILInlineClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
Line
Count
Source
522
161k
      : SILCloner<ImplClass>(To, DT) {
523
524
    // We only want to do this when we generate cloned functions, not
525
    // when we inline.
526
527
    // FIXME: This is due to having TypeSubstCloner inherit from
528
    //        SILClonerWithScopes, and having TypeSubstCloner be used
529
    //        both by passes that clone whole functions and ones that
530
    //        inline functions.
531
161k
    if (Disable)
532
161k
      return;
533
534
0
    scopeCloner.reset(new ScopeCloner(To));
535
0
  }
Unexecuted instantiation: _ZN5swift19SILClonerWithScopesINS_17SILFunctionClonerEEC2ERNS_11SILFunctionEPNS_13DominanceInfoEb
536
537
private:
538
  std::unique_ptr<ScopeCloner> scopeCloner;
539
protected:
540
  /// Clone the SILDebugScope for the cloned function.
541
2.01M
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned) {
542
2.01M
    SILCloner<ImplClass>::postProcess(Orig, Cloned);
543
2.01M
  }
_ZN5swift19SILClonerWithScopesINS_20BasicTypeSubstClonerEE11postProcessEPNS_14SILInstructionES4_
Line
Count
Source
541
4
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned) {
542
4
    SILCloner<ImplClass>::postProcess(Orig, Cloned);
543
4
  }
_ZN5swift19SILClonerWithScopesINS_8autodiff9JVPCloner14ImplementationEE11postProcessEPNS_14SILInstructionES6_
Line
Count
Source
541
3.57k
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned) {
542
3.57k
    SILCloner<ImplClass>::postProcess(Orig, Cloned);
543
3.57k
  }
_ZN5swift19SILClonerWithScopesINS_8autodiff9VJPCloner14ImplementationEE11postProcessEPNS_14SILInstructionES6_
Line
Count
Source
541
18.2k
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned) {
542
18.2k
    SILCloner<ImplClass>::postProcess(Orig, Cloned);
543
18.2k
  }
ExistentialTransform.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_128ExistentialSpecializerClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
541
24.2k
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned) {
542
24.2k
    SILCloner<ImplClass>::postProcess(Orig, Cloned);
543
24.2k
  }
CapturePropagation.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_124CapturePropagationClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
541
1.81k
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned) {
542
1.81k
    SILCloner<ImplClass>::postProcess(Orig, Cloned);
543
1.81k
  }
ClosureSpecializer.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_117ClosureSpecClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
541
66.6k
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned) {
542
66.6k
    SILCloner<ImplClass>::postProcess(Orig, Cloned);
543
66.6k
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_118InitSequenceClonerEE11postProcessEPNS_14SILInstructionES5_
CapturePromotion.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_113ClosureClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
541
536
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned) {
542
536
    SILCloner<ImplClass>::postProcess(Orig, Cloned);
543
536
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE11postProcessEPNS_14SILInstructionES5_
Unexecuted instantiation: _ZN5swift19SILClonerWithScopesINS_17SILFunctionClonerEE11postProcessEPNS_14SILInstructionES4_
AllocBoxToStack.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_119PromotedParamClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
541
1.01k
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned) {
542
1.01k
    SILCloner<ImplClass>::postProcess(Orig, Cloned);
543
1.01k
  }
_ZN5swift19SILClonerWithScopesINS_13GenericClonerEE11postProcessEPNS_14SILInstructionES4_
Line
Count
Source
541
1.89M
  void postProcess(SILInstruction *Orig, SILInstruction *Cloned) {
542
1.89M
    SILCloner<ImplClass>::postProcess(Orig, Cloned);
543
1.89M
  }
544
545
119k
  const SILDebugScope *remapScope(const SILDebugScope *DS) {
546
119k
    return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS;
547
119k
  }
_ZN5swift19SILClonerWithScopesINS_20BasicTypeSubstClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
545
4
  const SILDebugScope *remapScope(const SILDebugScope *DS) {
546
4
    return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS;
547
4
  }
_ZN5swift19SILClonerWithScopesINS_8autodiff9JVPCloner14ImplementationEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
545
3.57k
  const SILDebugScope *remapScope(const SILDebugScope *DS) {
546
3.57k
    return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS;
547
3.57k
  }
_ZN5swift19SILClonerWithScopesINS_8autodiff9VJPCloner14ImplementationEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
545
21.8k
  const SILDebugScope *remapScope(const SILDebugScope *DS) {
546
21.8k
    return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS;
547
21.8k
  }
ExistentialTransform.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_128ExistentialSpecializerClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
545
24.3k
  const SILDebugScope *remapScope(const SILDebugScope *DS) {
546
24.3k
    return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS;
547
24.3k
  }
CapturePropagation.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_124CapturePropagationClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
545
1.61k
  const SILDebugScope *remapScope(const SILDebugScope *DS) {
546
1.61k
    return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS;
547
1.61k
  }
ClosureSpecializer.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_117ClosureSpecClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
545
66.6k
  const SILDebugScope *remapScope(const SILDebugScope *DS) {
546
66.6k
    return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS;
547
66.6k
  }
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_118InitSequenceClonerEE10remapScopeEPKNS_13SILDebugScopeE
CapturePromotion.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_113ClosureClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
545
566
  const SILDebugScope *remapScope(const SILDebugScope *DS) {
546
566
    return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS;
547
566
  }
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE10remapScopeEPKNS_13SILDebugScopeE
Unexecuted instantiation: _ZN5swift19SILClonerWithScopesINS_17SILFunctionClonerEE10remapScopeEPKNS_13SILDebugScopeE
AllocBoxToStack.cpp:_ZN5swift19SILClonerWithScopesIN12_GLOBAL__N_119PromotedParamClonerEE10remapScopeEPKNS_13SILDebugScopeE
Line
Count
Source
545
1.01k
  const SILDebugScope *remapScope(const SILDebugScope *DS) {
546
1.01k
    return scopeCloner ? scopeCloner->getOrCreateClonedScope(DS) : DS;
547
1.01k
  }
548
};
549
550
/// Clone a function without transforming it.
551
class SILFunctionCloner : public SILClonerWithScopes<SILFunctionCloner> {
552
  using SuperTy = SILClonerWithScopes<SILFunctionCloner>;
553
  friend class SILCloner<SILFunctionCloner>;
554
555
public:
556
0
  SILFunctionCloner(SILFunction *newF) : SILClonerWithScopes(*newF) {}
557
558
  /// Clone all blocks in this function and all instructions in those
559
  /// blocks.
560
  ///
561
  /// This is used to clone an entire function without mutating the original
562
  /// function.
563
  ///
564
  /// The new function is expected to be completely empty. Clone the entry
565
  /// blocks arguments here. The cloned arguments become the inputs to the
566
  /// general SILCloner, which expects the new entry block to be ready to emit
567
  /// instructions into.
568
0
  void cloneFunction(SILFunction *origF) {
569
0
    SILFunction *newF = &Builder.getFunction();
570
571
0
    auto *newEntryBB = newF->createBasicBlock();
572
0
    newEntryBB->cloneArgumentList(origF->getEntryBlock());
573
574
    // Copy the new entry block arguments into a separate vector purely to
575
    // resolve the type mismatch between SILArgument* and SILValue.
576
0
    SmallVector<SILValue, 8> entryArgs;
577
0
    entryArgs.reserve(newF->getArguments().size());
578
0
    llvm::transform(newF->getArguments(), std::back_inserter(entryArgs),
579
0
                    [](SILArgument *arg) -> SILValue { return arg; });
580
581
0
    SuperTy::cloneFunctionBody(origF, newEntryBB, entryArgs);
582
0
  }
583
};
584
585
template<typename ImplClass>
586
SILValue
587
8.39M
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
8.39M
  auto VI = ValueMap.find(Value);
589
8.39M
  if (VI != ValueMap.end())
590
8.39M
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
31
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
31
    auto type = getOpType(U->getType());
595
31
    ValueBase *undef =
596
31
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
31
    return SILValue(undef);
598
31
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14getMappedValueENS_8SILValueE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
4
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
4
  auto VI = ValueMap.find(Value);
589
4
  if (VI != ValueMap.end())
590
4
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
4.99k
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
4.99k
  auto VI = ValueMap.find(Value);
589
4.99k
  if (VI != ValueMap.end())
590
4.99k
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
23.7k
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
23.7k
  auto VI = ValueMap.find(Value);
589
23.7k
  if (VI != ValueMap.end())
590
23.7k
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
1
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
1
    auto type = getOpType(U->getType());
595
1
    ValueBase *undef =
596
1
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
1
    return SILValue(undef);
598
1
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
25.7k
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
25.7k
  auto VI = ValueMap.find(Value);
589
25.7k
  if (VI != ValueMap.end())
590
25.7k
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
2.13k
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
2.13k
  auto VI = ValueMap.find(Value);
589
2.13k
  if (VI != ValueMap.end())
590
2.13k
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
77.7k
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
77.7k
  auto VI = ValueMap.find(Value);
589
77.7k
  if (VI != ValueMap.end())
590
77.7k
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14getMappedValueENS_8SILValueE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
606
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
606
  auto VI = ValueMap.find(Value);
589
606
  if (VI != ValueMap.end())
590
606
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
52.4k
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
52.4k
  auto VI = ValueMap.find(Value);
589
52.4k
  if (VI != ValueMap.end())
590
52.4k
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
538
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
538
  auto VI = ValueMap.find(Value);
589
538
  if (VI != ValueMap.end())
590
538
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14getMappedValueENS_8SILValueE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
38.8k
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
38.8k
  auto VI = ValueMap.find(Value);
589
38.8k
  if (VI != ValueMap.end())
590
38.8k
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
6.79k
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
6.79k
  auto VI = ValueMap.find(Value);
589
6.79k
  if (VI != ValueMap.end())
590
6.79k
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14getMappedValueENS_8SILValueE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
1.05k
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
1.05k
  auto VI = ValueMap.find(Value);
589
1.05k
  if (VI != ValueMap.end())
590
1.05k
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
0
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
0
    auto type = getOpType(U->getType());
595
0
    ValueBase *undef =
596
0
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
0
    return SILValue(undef);
598
0
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14getMappedValueENS_8SILValueE
_ZN5swift9SILClonerINS_13GenericClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
1.98M
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
1.98M
  auto VI = ValueMap.find(Value);
589
1.98M
  if (VI != ValueMap.end())
590
1.98M
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
10
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
10
    auto type = getOpType(U->getType());
595
10
    ValueBase *undef =
596
10
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
10
    return SILValue(undef);
598
10
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE14getMappedValueENS_8SILValueE
Line
Count
Source
587
6.16M
SILCloner<ImplClass>::getMappedValue(SILValue Value) {
588
6.16M
  auto VI = ValueMap.find(Value);
589
6.16M
  if (VI != ValueMap.end())
590
6.16M
    return VI->second;
591
592
  // If we have undef, just remap the type.
593
20
  if (auto *U = dyn_cast<SILUndef>(Value)) {
594
20
    auto type = getOpType(U->getType());
595
20
    ValueBase *undef =
596
20
      (type == U->getType() ? U : SILUndef::get(type, Builder.getFunction()));
597
20
    return SILValue(undef);
598
20
  }
599
600
0
  llvm_unreachable("Unmapped value while cloning?");
601
0
}
602
603
template <typename ImplClass>
604
6.04M
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
6.04M
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
6.04M
  (void)iterAndInserted;
607
6.04M
  assert(iterAndInserted.second && "Original value already mapped.");
608
6.04M
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE8mapValueENS_8SILValueES4_
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE8mapValueENS_8SILValueES3_
Line
Count
Source
604
2
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
2
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
2
  (void)iterAndInserted;
607
2
  assert(iterAndInserted.second && "Original value already mapped.");
608
2
}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE8mapValueENS_8SILValueES5_
Line
Count
Source
604
2.59k
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
2.59k
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
2.59k
  (void)iterAndInserted;
607
2.59k
  assert(iterAndInserted.second && "Original value already mapped.");
608
2.59k
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE8mapValueENS_8SILValueES5_
Line
Count
Source
604
12.7k
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
12.7k
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
12.7k
  (void)iterAndInserted;
607
12.7k
  assert(iterAndInserted.second && "Original value already mapped.");
608
12.7k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE8mapValueENS_8SILValueES4_
Line
Count
Source
604
15.7k
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
15.7k
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
15.7k
  (void)iterAndInserted;
607
15.7k
  assert(iterAndInserted.second && "Original value already mapped.");
608
15.7k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE8mapValueENS_8SILValueES4_
Line
Count
Source
604
1.17k
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
1.17k
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
1.17k
  (void)iterAndInserted;
607
1.17k
  assert(iterAndInserted.second && "Original value already mapped.");
608
1.17k
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE8mapValueENS_8SILValueES4_
Line
Count
Source
604
52.8k
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
52.8k
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
52.8k
  (void)iterAndInserted;
607
52.8k
  assert(iterAndInserted.second && "Original value already mapped.");
608
52.8k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE8mapValueENS_8SILValueES4_
Line
Count
Source
604
215
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
215
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
215
  (void)iterAndInserted;
607
215
  assert(iterAndInserted.second && "Original value already mapped.");
608
215
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE8mapValueENS_8SILValueES4_
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE8mapValueENS_8SILValueES4_
Line
Count
Source
604
450
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
450
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
450
  (void)iterAndInserted;
607
450
  assert(iterAndInserted.second && "Original value already mapped.");
608
450
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE8mapValueENS_8SILValueES4_
Line
Count
Source
604
41.9k
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
41.9k
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
41.9k
  (void)iterAndInserted;
607
41.9k
  assert(iterAndInserted.second && "Original value already mapped.");
608
41.9k
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE8mapValueENS_8SILValueES4_
Line
Count
Source
604
318
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
318
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
318
  (void)iterAndInserted;
607
318
  assert(iterAndInserted.second && "Original value already mapped.");
608
318
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE8mapValueENS_8SILValueES4_
_ZN5swift9SILClonerINS_16BasicBlockClonerEE8mapValueENS_8SILValueES3_
Line
Count
Source
604
45.1k
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
45.1k
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
45.1k
  (void)iterAndInserted;
607
45.1k
  assert(iterAndInserted.second && "Original value already mapped.");
608
45.1k
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE8mapValueENS_8SILValueES3_
Line
Count
Source
604
3.48k
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
3.48k
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
3.48k
  (void)iterAndInserted;
607
3.48k
  assert(iterAndInserted.second && "Original value already mapped.");
608
3.48k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE8mapValueENS_8SILValueES3_
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE8mapValueENS_8SILValueES4_
Line
Count
Source
604
707
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
707
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
707
  (void)iterAndInserted;
607
707
  assert(iterAndInserted.second && "Original value already mapped.");
608
707
}
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE8mapValueENS_8SILValueES4_
Line
Count
Source
604
674
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
674
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
674
  (void)iterAndInserted;
607
674
  assert(iterAndInserted.second && "Original value already mapped.");
608
674
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE8mapValueENS_8SILValueES4_
_ZN5swift9SILClonerINS_13GenericClonerEE8mapValueENS_8SILValueES3_
Line
Count
Source
604
1.45M
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
1.45M
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
1.45M
  (void)iterAndInserted;
607
1.45M
  assert(iterAndInserted.second && "Original value already mapped.");
608
1.45M
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE8mapValueENS_8SILValueES3_
Line
Count
Source
604
4.39M
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
4.39M
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
4.39M
  (void)iterAndInserted;
607
4.39M
  assert(iterAndInserted.second && "Original value already mapped.");
608
4.39M
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE8mapValueENS_8SILValueES4_
Line
Count
Source
604
8.60k
void SILCloner<ImplClass>::mapValue(SILValue origValue, SILValue mappedValue) {
605
8.60k
  auto iterAndInserted = ValueMap.insert({origValue, mappedValue});
606
8.60k
  (void)iterAndInserted;
607
8.60k
  assert(iterAndInserted.second && "Original value already mapped.");
608
8.60k
}
609
610
template<typename ImplClass>
611
SILBasicBlock*
612
1.38M
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
1.38M
  SILBasicBlock *MappedBB = BBMap[BB];
614
1.38M
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
1.38M
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
612
5.28k
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
5.28k
  SILBasicBlock *MappedBB = BBMap[BB];
614
5.28k
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
5.28k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
612
70
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
70
  SILBasicBlock *MappedBB = BBMap[BB];
614
70
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
70
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
612
13.9k
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
13.9k
  SILBasicBlock *MappedBB = BBMap[BB];
614
13.9k
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
13.9k
}
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
612
372
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
372
  SILBasicBlock *MappedBB = BBMap[BB];
614
372
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
372
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
612
15.7k
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
15.7k
  SILBasicBlock *MappedBB = BBMap[BB];
614
15.7k
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
15.7k
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
612
36
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
36
  SILBasicBlock *MappedBB = BBMap[BB];
614
36
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
36
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
612
140k
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
140k
  SILBasicBlock *MappedBB = BBMap[BB];
614
140k
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
140k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15remapBasicBlockEPNS_13SILBasicBlockE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
612
55
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
55
  SILBasicBlock *MappedBB = BBMap[BB];
614
55
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
55
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15remapBasicBlockEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_13GenericClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
612
385k
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
385k
  SILBasicBlock *MappedBB = BBMap[BB];
614
385k
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
385k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE15remapBasicBlockEPNS_13SILBasicBlockE
Line
Count
Source
612
821k
SILCloner<ImplClass>::remapBasicBlock(SILBasicBlock *BB) {
613
821k
  SILBasicBlock *MappedBB = BBMap[BB];
614
821k
  assert(MappedBB && "Unmapped basic block while cloning?");
615
0
  return MappedBB;
616
821k
}
617
618
template<typename ImplClass>
619
void
620
SILCloner<ImplClass>::postProcess(SILInstruction *orig,
621
7.32M
                                  SILInstruction *cloned) {
622
7.32M
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
7.32M
          Builder.isInsertingIntoGlobal()) &&
624
7.32M
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
7.32M
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
5.73M
  auto clonedResults = cloned->getResults();
634
5.73M
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
5.78M
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
5.73M
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE11postProcessEPNS_14SILInstructionES5_
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE11postProcessEPNS_14SILInstructionES4_
Line
Count
Source
621
4
                                  SILInstruction *cloned) {
622
4
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
4
          Builder.isInsertingIntoGlobal()) &&
624
4
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
4
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
2
  auto clonedResults = cloned->getResults();
634
2
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
2
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
2
}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE11postProcessEPNS_14SILInstructionES6_
Line
Count
Source
621
3.57k
                                  SILInstruction *cloned) {
622
3.57k
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
3.57k
          Builder.isInsertingIntoGlobal()) &&
624
3.57k
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
3.57k
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
2.19k
  auto clonedResults = cloned->getResults();
634
2.19k
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
2.19k
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
2.19k
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE11postProcessEPNS_14SILInstructionES6_
Line
Count
Source
621
18.2k
                                  SILInstruction *cloned) {
622
18.2k
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
18.2k
          Builder.isInsertingIntoGlobal()) &&
624
18.2k
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
18.2k
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
11.0k
  auto clonedResults = cloned->getResults();
634
11.0k
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
11.1k
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
11.0k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
621
24.2k
                                  SILInstruction *cloned) {
622
24.2k
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
24.2k
          Builder.isInsertingIntoGlobal()) &&
624
24.2k
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
24.2k
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
14.7k
  auto clonedResults = cloned->getResults();
634
14.7k
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
14.7k
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
14.7k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
621
1.81k
                                  SILInstruction *cloned) {
622
1.81k
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
1.81k
          Builder.isInsertingIntoGlobal()) &&
624
1.81k
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
1.81k
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
1.15k
  auto clonedResults = cloned->getResults();
634
1.15k
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
1.15k
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
1.15k
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
621
66.6k
                                  SILInstruction *cloned) {
622
66.6k
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
66.6k
          Builder.isInsertingIntoGlobal()) &&
624
66.6k
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
66.6k
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
50.5k
  auto clonedResults = cloned->getResults();
634
50.5k
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
50.6k
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
50.5k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
621
390
                                  SILInstruction *cloned) {
622
390
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
390
          Builder.isInsertingIntoGlobal()) &&
624
390
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
390
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
215
  auto clonedResults = cloned->getResults();
634
215
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
215
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
215
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE11postProcessEPNS_14SILInstructionES5_
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
621
660
                                  SILInstruction *cloned) {
622
660
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
660
          Builder.isInsertingIntoGlobal()) &&
624
660
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
660
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
426
  auto clonedResults = cloned->getResults();
634
426
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
426
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
426
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
621
41.9k
                                  SILInstruction *cloned) {
622
41.9k
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
41.9k
          Builder.isInsertingIntoGlobal()) &&
624
41.9k
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
41.9k
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
34.0k
  auto clonedResults = cloned->getResults();
634
34.0k
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
34.0k
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
34.0k
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
621
536
                                  SILInstruction *cloned) {
622
536
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
536
          Builder.isInsertingIntoGlobal()) &&
624
536
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
536
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
290
  auto clonedResults = cloned->getResults();
634
290
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
296
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
290
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE11postProcessEPNS_14SILInstructionES5_
_ZN5swift9SILClonerINS_16BasicBlockClonerEE11postProcessEPNS_14SILInstructionES4_
Line
Count
Source
621
86.1k
                                  SILInstruction *cloned) {
622
86.1k
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
86.1k
          Builder.isInsertingIntoGlobal()) &&
624
86.1k
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
86.1k
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
26.6k
  auto clonedResults = cloned->getResults();
634
26.6k
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
26.6k
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
26.6k
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE11postProcessEPNS_14SILInstructionES4_
Line
Count
Source
621
3.48k
                                  SILInstruction *cloned) {
622
3.48k
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
3.48k
          Builder.isInsertingIntoGlobal()) &&
624
3.48k
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
3.48k
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
3.48k
  auto clonedResults = cloned->getResults();
634
3.48k
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
3.48k
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
3.48k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE11postProcessEPNS_14SILInstructionES4_
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
621
1.01k
                                  SILInstruction *cloned) {
622
1.01k
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
1.01k
          Builder.isInsertingIntoGlobal()) &&
624
1.01k
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
1.01k
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
681
  auto clonedResults = cloned->getResults();
634
681
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
683
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
681
}
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
621
674
                                  SILInstruction *cloned) {
622
674
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
674
          Builder.isInsertingIntoGlobal()) &&
624
674
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
674
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
674
  auto clonedResults = cloned->getResults();
634
674
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
674
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
674
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE11postProcessEPNS_14SILInstructionES5_
_ZN5swift9SILClonerINS_13GenericClonerEE11postProcessEPNS_14SILInstructionES4_
Line
Count
Source
621
1.89M
                                  SILInstruction *cloned) {
622
1.89M
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
1.89M
          Builder.isInsertingIntoGlobal()) &&
624
1.89M
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
1.89M
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
1.39M
  auto clonedResults = cloned->getResults();
634
1.39M
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
1.41M
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
1.39M
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE11postProcessEPNS_14SILInstructionES4_
Line
Count
Source
621
5.17M
                                  SILInstruction *cloned) {
622
5.17M
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
5.17M
          Builder.isInsertingIntoGlobal()) &&
624
5.17M
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
5.17M
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
4.18M
  auto clonedResults = cloned->getResults();
634
4.18M
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
4.21M
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
4.18M
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE11postProcessEPNS_14SILInstructionES5_
Line
Count
Source
621
10.2k
                                  SILInstruction *cloned) {
622
10.2k
  assert((!orig->getDebugScope() || cloned->getDebugScope() ||
623
10.2k
          Builder.isInsertingIntoGlobal()) &&
624
10.2k
         "cloned function dropped debug scope");
625
626
  // It sometimes happens that an instruction with no results gets mapped
627
  // to an instruction with results, e.g. when specializing a cast.
628
  // Just ignore this.
629
0
  auto origResults = orig->getResults();
630
10.2k
  if (origResults.empty()) return;
631
632
  // Otherwise, map the results over one-by-one.
633
8.19k
  auto clonedResults = cloned->getResults();
634
8.19k
  assert(origResults.size() == clonedResults.size());
635
0
  for (auto i : indices(origResults))
636
8.60k
    asImpl().mapValue(origResults[i], clonedResults[i]);
637
8.19k
}
638
639
template<typename ImplClass>
640
1.23M
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
7.49M
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
6.26M
    asImpl().visit(&*I);
644
6.26M
  }
645
1.23M
}
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
1
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
4
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
3
    asImpl().visit(&*I);
644
3
  }
645
1
}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
339
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
4.32k
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
3.98k
    asImpl().visit(&*I);
644
3.98k
  }
645
339
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
1.81k
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
21.5k
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
19.6k
    asImpl().visit(&*I);
644
19.6k
  }
645
1.81k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
3.97k
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
24.2k
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
20.2k
    asImpl().visit(&*I);
644
20.2k
  }
645
3.97k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
186
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
1.61k
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
1.42k
    asImpl().visit(&*I);
644
1.42k
  }
645
186
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
10.7k
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
66.6k
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
55.8k
    asImpl().visit(&*I);
644
55.8k
  }
645
10.7k
}
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
86
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
660
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
574
    asImpl().visit(&*I);
644
574
  }
645
86
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
7.87k
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
41.9k
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
34.1k
    asImpl().visit(&*I);
644
34.1k
  }
645
7.87k
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
38
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
576
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
538
    asImpl().visit(&*I);
644
538
  }
645
38
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
55.1k
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
86.1k
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
30.9k
    asImpl().visit(&*I);
644
30.9k
  }
645
55.1k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
49
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
1.02k
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
971
    asImpl().visit(&*I);
644
971
  }
645
49
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_13GenericClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
329k
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
1.90M
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
1.57M
    asImpl().visit(&*I);
644
1.57M
  }
645
329k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitInstructionsInBlockEPNS_13SILBasicBlockE
Line
Count
Source
640
823k
void SILCloner<ImplClass>::visitInstructionsInBlock(SILBasicBlock* BB) {
641
  // Iterate over and visit all instructions other than the terminator to clone.
642
5.34M
  for (auto I = BB->begin(), E = --BB->end(); I != E; ++I) {
643
4.51M
    asImpl().visit(&*I);
644
4.51M
  }
645
823k
}
646
647
template <typename ImplClass>
648
void SILCloner<ImplClass>::cloneReachableBlocks(
649
  SILBasicBlock *startBB, ArrayRef<SILBasicBlock *> exitBlocks,
650
  SILBasicBlock *insertAfterBB,
651
21.2k
  bool havePrepopulatedFunctionArgs) {
652
653
21.2k
  SILFunction *F = startBB->getParent();
654
21.2k
  assert(F == &Builder.getFunction()
655
21.2k
         && "cannot clone region across functions.");
656
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
657
0
  assert((havePrepopulatedFunctionArgs || ValueMap.empty()) &&
658
21.2k
         "Stale ValueMap.");
659
660
21.2k
  auto *clonedStartBB = insertAfterBB ? F->createBasicBlockAfter(insertAfterBB)
661
21.2k
    : F->createBasicBlock();
662
663
21.2k
  BBMap.insert(std::make_pair(startBB, clonedStartBB));
664
21.2k
  getBuilder().setInsertionPoint(clonedStartBB);
665
21.2k
  clonePhiArgs(startBB);
666
667
  // Premap exit blocks to terminate so that visitBlocksDepthFirst terminates
668
  // after discovering the cloned region. Mapping an exit block to itself
669
  // provides the correct destination block during visitTerminator.
670
21.2k
  for (auto *exitBB : exitBlocks)
671
39.7k
    BBMap[exitBB] = exitBB;
672
673
  // Discover and map the region to be cloned.
674
21.2k
  visitBlocksDepthFirst(startBB);
675
676
21.2k
  commonFixUp(F);
677
21.2k
}
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20cloneReachableBlocksEPNS_13SILBasicBlockEN4llvm8ArrayRefIS5_EES5_b
Line
Count
Source
651
10
  bool havePrepopulatedFunctionArgs) {
652
653
10
  SILFunction *F = startBB->getParent();
654
10
  assert(F == &Builder.getFunction()
655
10
         && "cannot clone region across functions.");
656
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
657
0
  assert((havePrepopulatedFunctionArgs || ValueMap.empty()) &&
658
10
         "Stale ValueMap.");
659
660
10
  auto *clonedStartBB = insertAfterBB ? F->createBasicBlockAfter(insertAfterBB)
661
10
    : F->createBasicBlock();
662
663
10
  BBMap.insert(std::make_pair(startBB, clonedStartBB));
664
10
  getBuilder().setInsertionPoint(clonedStartBB);
665
10
  clonePhiArgs(startBB);
666
667
  // Premap exit blocks to terminate so that visitBlocksDepthFirst terminates
668
  // after discovering the cloned region. Mapping an exit block to itself
669
  // provides the correct destination block during visitTerminator.
670
10
  for (auto *exitBB : exitBlocks)
671
18
    BBMap[exitBB] = exitBB;
672
673
  // Discover and map the region to be cloned.
674
10
  visitBlocksDepthFirst(startBB);
675
676
10
  commonFixUp(F);
677
10
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20cloneReachableBlocksEPNS_13SILBasicBlockEN4llvm8ArrayRefIS5_EES5_b
Line
Count
Source
651
2.62k
  bool havePrepopulatedFunctionArgs) {
652
653
2.62k
  SILFunction *F = startBB->getParent();
654
2.62k
  assert(F == &Builder.getFunction()
655
2.62k
         && "cannot clone region across functions.");
656
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
657
0
  assert((havePrepopulatedFunctionArgs || ValueMap.empty()) &&
658
2.62k
         "Stale ValueMap.");
659
660
2.62k
  auto *clonedStartBB = insertAfterBB ? F->createBasicBlockAfter(insertAfterBB)
661
2.62k
    : F->createBasicBlock();
662
663
2.62k
  BBMap.insert(std::make_pair(startBB, clonedStartBB));
664
2.62k
  getBuilder().setInsertionPoint(clonedStartBB);
665
2.62k
  clonePhiArgs(startBB);
666
667
  // Premap exit blocks to terminate so that visitBlocksDepthFirst terminates
668
  // after discovering the cloned region. Mapping an exit block to itself
669
  // provides the correct destination block during visitTerminator.
670
2.62k
  for (auto *exitBB : exitBlocks)
671
2.62k
    BBMap[exitBB] = exitBB;
672
673
  // Discover and map the region to be cloned.
674
2.62k
  visitBlocksDepthFirst(startBB);
675
676
2.62k
  commonFixUp(F);
677
2.62k
}
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20cloneReachableBlocksEPNS_13SILBasicBlockEN4llvm8ArrayRefIS4_EES4_b
Line
Count
Source
651
18.6k
  bool havePrepopulatedFunctionArgs) {
652
653
18.6k
  SILFunction *F = startBB->getParent();
654
18.6k
  assert(F == &Builder.getFunction()
655
18.6k
         && "cannot clone region across functions.");
656
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
657
0
  assert((havePrepopulatedFunctionArgs || ValueMap.empty()) &&
658
18.6k
         "Stale ValueMap.");
659
660
18.6k
  auto *clonedStartBB = insertAfterBB ? F->createBasicBlockAfter(insertAfterBB)
661
18.6k
    : F->createBasicBlock();
662
663
18.6k
  BBMap.insert(std::make_pair(startBB, clonedStartBB));
664
18.6k
  getBuilder().setInsertionPoint(clonedStartBB);
665
18.6k
  clonePhiArgs(startBB);
666
667
  // Premap exit blocks to terminate so that visitBlocksDepthFirst terminates
668
  // after discovering the cloned region. Mapping an exit block to itself
669
  // provides the correct destination block during visitTerminator.
670
18.6k
  for (auto *exitBB : exitBlocks)
671
37.1k
    BBMap[exitBB] = exitBB;
672
673
  // Discover and map the region to be cloned.
674
18.6k
  visitBlocksDepthFirst(startBB);
675
676
18.6k
  commonFixUp(F);
677
18.6k
}
678
679
template <typename ImplClass>
680
void SILCloner<ImplClass>::cloneFunctionBody(SILFunction *F,
681
                                             SILBasicBlock *clonedEntryBB,
682
                                             ArrayRef<SILValue> entryArgs,
683
188k
                                             bool replaceOriginalFunctionInPlace) {
684
685
188k
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
188k
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
591k
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
402k
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
188k
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
188k
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
188k
  visitBlocksDepthFirst(&*F->begin());
700
701
188k
  commonFixUp(F);
702
188k
}
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
Line
Count
Source
683
1
                                             bool replaceOriginalFunctionInPlace) {
684
685
1
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
1
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
2
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
1
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
1
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
1
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
1
  visitBlocksDepthFirst(&*F->begin());
700
701
1
  commonFixUp(F);
702
1
}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
Line
Count
Source
683
339
                                             bool replaceOriginalFunctionInPlace) {
684
685
339
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
339
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
922
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
583
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
339
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
339
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
339
  visitBlocksDepthFirst(&*F->begin());
700
701
339
  commonFixUp(F);
702
339
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
Line
Count
Source
683
1.31k
                                             bool replaceOriginalFunctionInPlace) {
684
685
1.31k
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
1.31k
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
3.76k
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
2.45k
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
1.31k
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
1.31k
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
1.31k
  visitBlocksDepthFirst(&*F->begin());
700
701
1.31k
  commonFixUp(F);
702
1.31k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
Line
Count
Source
683
155
                                             bool replaceOriginalFunctionInPlace) {
684
685
155
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
155
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
636
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
481
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
155
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
155
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
155
  visitBlocksDepthFirst(&*F->begin());
700
701
155
  commonFixUp(F);
702
155
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
Line
Count
Source
683
128
                                             bool replaceOriginalFunctionInPlace) {
684
685
128
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
128
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
396
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
268
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
128
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
128
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
128
  visitBlocksDepthFirst(&*F->begin());
700
701
128
  commonFixUp(F);
702
128
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
Line
Count
Source
683
249
                                             bool replaceOriginalFunctionInPlace) {
684
685
249
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
249
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
919
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
670
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
249
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
249
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
249
  visitBlocksDepthFirst(&*F->begin());
700
701
249
  commonFixUp(F);
702
249
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
Line
Count
Source
683
8
                                             bool replaceOriginalFunctionInPlace) {
684
685
8
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
8
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
32
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
24
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
8
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
8
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
8
  visitBlocksDepthFirst(&*F->begin());
700
701
8
  commonFixUp(F);
702
8
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
Line
Count
Source
683
5
                                             bool replaceOriginalFunctionInPlace) {
684
685
5
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
5
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
29
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
24
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
5
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
5
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
5
  visitBlocksDepthFirst(&*F->begin());
700
701
5
  commonFixUp(F);
702
5
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
_ZN5swift9SILClonerINS_13GenericClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
Line
Count
Source
683
25.4k
                                             bool replaceOriginalFunctionInPlace) {
684
685
25.4k
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
25.4k
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
79.4k
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
54.0k
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
25.4k
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
25.4k
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
25.4k
  visitBlocksDepthFirst(&*F->begin());
700
701
25.4k
  commonFixUp(F);
702
25.4k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE17cloneFunctionBodyEPNS_11SILFunctionEPNS_13SILBasicBlockEN4llvm8ArrayRefINS_8SILValueEEEb
Line
Count
Source
683
161k
                                             bool replaceOriginalFunctionInPlace) {
684
685
161k
  assert((replaceOriginalFunctionInPlace || F != clonedEntryBB->getParent()) &&
686
161k
         "Must clone into a new function.");
687
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
688
0
  assert(ValueMap.empty() && "Stale ValueMap.");
689
690
0
  assert(entryArgs.size() == F->getArguments().size());
691
505k
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i)
692
344k
    ValueMap[F->getArgument(i)] = entryArgs[i];
693
694
161k
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
695
696
161k
  Builder.setInsertionPoint(clonedEntryBB);
697
698
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
699
161k
  visitBlocksDepthFirst(&*F->begin());
700
701
161k
  commonFixUp(F);
702
161k
}
703
704
template <typename ImplClass>
705
void SILCloner<ImplClass>::cloneFunctionBody(
706
    SILFunction *F, SILBasicBlock *clonedEntryBB, ArrayRef<SILValue> entryArgs,
707
0
    llvm::function_ref<SILValue(SILValue)> entryArgIndexToOldArgIndex) {
708
0
  assert(F != clonedEntryBB->getParent() && "Must clone into a new function.");
709
0
  assert(BBMap.empty() && "This API does not allow clients to map blocks.");
710
0
  assert(ValueMap.empty() && "Stale ValueMap.");
711
712
0
  assert(entryArgs.size() == F->getArguments().size());
713
0
  for (unsigned i = 0, e = entryArgs.size(); i != e; ++i) {
714
0
    ValueMap[entryArgIndexToOldArgIndex(entryArgs[i])] = entryArgs[i];
715
0
  }
716
717
0
  BBMap.insert(std::make_pair(&*F->begin(), clonedEntryBB));
718
719
0
  Builder.setInsertionPoint(clonedEntryBB);
720
721
  // This will layout all newly cloned blocks immediate after clonedEntryBB.
722
0
  visitBlocksDepthFirst(&*F->begin());
723
724
0
  commonFixUp(F);
725
0
}
726
727
template<typename ImplClass>
728
1.04M
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
1.04M
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
1.04M
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
257k
    SILValue mappedArg = mappedBB->createPhiArgument(
734
257k
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
257k
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
257k
    asImpl().mapValue(Arg, mappedArg);
738
257k
  }
739
1.04M
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE12clonePhiArgsEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
499
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
499
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
499
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
173
    SILValue mappedArg = mappedBB->createPhiArgument(
734
173
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
173
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
173
    asImpl().mapValue(Arg, mappedArg);
738
173
  }
739
499
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
3.81k
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
3.81k
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
3.81k
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
942
    SILValue mappedArg = mappedBB->createPhiArgument(
734
942
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
942
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
942
    asImpl().mapValue(Arg, mappedArg);
738
942
  }
739
3.81k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
58
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
58
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
58
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
16
    SILValue mappedArg = mappedBB->createPhiArgument(
734
16
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
16
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
16
    asImpl().mapValue(Arg, mappedArg);
738
16
  }
739
58
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
10.5k
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
10.5k
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
10.5k
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
2.29k
    SILValue mappedArg = mappedBB->createPhiArgument(
734
2.29k
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
2.29k
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
2.29k
    asImpl().mapValue(Arg, mappedArg);
738
2.29k
  }
739
10.5k
}
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
86
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
86
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
86
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
24
    SILValue mappedArg = mappedBB->createPhiArgument(
734
24
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
24
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
24
    asImpl().mapValue(Arg, mappedArg);
738
24
  }
739
86
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
7.87k
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
7.87k
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
7.87k
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
7.86k
    SILValue mappedArg = mappedBB->createPhiArgument(
734
7.86k
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
7.86k
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
7.86k
    asImpl().mapValue(Arg, mappedArg);
738
7.86k
  }
739
7.87k
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
30
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
30
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
30
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
14
    SILValue mappedArg = mappedBB->createPhiArgument(
734
14
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
14
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
14
    asImpl().mapValue(Arg, mappedArg);
738
14
  }
739
30
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
55.1k
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
55.1k
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
55.1k
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
18.5k
    SILValue mappedArg = mappedBB->createPhiArgument(
734
18.5k
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
18.5k
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
18.5k
    asImpl().mapValue(Arg, mappedArg);
738
18.5k
  }
739
55.1k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
44
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
44
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
44
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
15
    SILValue mappedArg = mappedBB->createPhiArgument(
734
15
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
15
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
15
    asImpl().mapValue(Arg, mappedArg);
738
15
  }
739
44
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE12clonePhiArgsEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_13GenericClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
303k
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
303k
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
303k
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
46.9k
    SILValue mappedArg = mappedBB->createPhiArgument(
734
46.9k
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
46.9k
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
46.9k
    asImpl().mapValue(Arg, mappedArg);
738
46.9k
  }
739
303k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE12clonePhiArgsEPNS_13SILBasicBlockE
Line
Count
Source
728
662k
void SILCloner<ImplClass>::clonePhiArgs(SILBasicBlock *oldBB) {
729
662k
  auto *mappedBB = BBMap[oldBB];
730
731
  // Create new arguments for each of the original block's arguments.
732
662k
  for (auto *Arg : oldBB->getSILPhiArguments()) {
733
180k
    SILValue mappedArg = mappedBB->createPhiArgument(
734
180k
        getOpType(Arg->getType()), Arg->getOwnershipKind(), Arg->getDecl(),
735
180k
        Arg->isReborrow(), Arg->hasPointerEscape());
736
737
180k
    asImpl().mapValue(Arg, mappedArg);
738
180k
  }
739
662k
}
740
741
// This private helper visits BBs in depth-first preorder (only processing
742
// blocks on the first visit), mapping newly visited BBs to new BBs and cloning
743
// all instructions into the caller.
744
template <typename ImplClass>
745
210k
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
210k
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
210k
  lastClonedBB = BBMap[startBB];
763
1.44M
  while (!dfsWorklist.empty()) {
764
1.23M
    auto *BB = dfsWorklist.pop_back_val();
765
1.23M
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
1.23M
    if (BB != startBB)
770
1.02M
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
1.23M
    getBuilder().setInsertionPoint(BBMap[BB]);
774
1.23M
    asImpl().visitInstructionsInBlock(BB);
775
776
1.23M
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
1.23M
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
2.54M
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
1.31M
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
327k
        if (BB->getSingleSuccessorBlock()
792
327k
            && isa<BranchInst>(BB->getTerminator())) {
793
288k
          continue;
794
288k
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
39.2k
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
39.2k
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
39.2k
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
1.02M
      lastClonedBB =
803
1.02M
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
1.02M
      auto &succ = BB->getSuccessors()[succIdx];
807
1.02M
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
1.02M
      dfsWorklist.push_back(succ);
810
1.02M
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
1.23M
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
1.23M
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
1.23M
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
1.23M
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
1.23M
    asImpl().visitTerminator(origBB);
824
1.23M
  }
825
210k
}
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
1
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
1
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
1
  lastClonedBB = BBMap[startBB];
763
2
  while (!dfsWorklist.empty()) {
764
1
    auto *BB = dfsWorklist.pop_back_val();
765
1
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
1
    if (BB != startBB)
770
0
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
1
    getBuilder().setInsertionPoint(BBMap[BB]);
774
1
    asImpl().visitInstructionsInBlock(BB);
775
776
1
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
1
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
1
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
0
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
0
        if (BB->getSingleSuccessorBlock()
792
0
            && isa<BranchInst>(BB->getTerminator())) {
793
0
          continue;
794
0
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
0
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
0
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
0
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
0
      lastClonedBB =
803
0
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
0
      auto &succ = BB->getSuccessors()[succIdx];
807
0
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
0
      dfsWorklist.push_back(succ);
810
0
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
1
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
1
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
1
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
1
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
1
    asImpl().visitTerminator(origBB);
824
1
  }
825
1
}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
339
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
339
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
339
  lastClonedBB = BBMap[startBB];
763
678
  while (!dfsWorklist.empty()) {
764
339
    auto *BB = dfsWorklist.pop_back_val();
765
339
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
339
    if (BB != startBB)
770
0
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
339
    getBuilder().setInsertionPoint(BBMap[BB]);
774
339
    asImpl().visitInstructionsInBlock(BB);
775
776
339
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
339
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
339
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
0
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
0
        if (BB->getSingleSuccessorBlock()
792
0
            && isa<BranchInst>(BB->getTerminator())) {
793
0
          continue;
794
0
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
0
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
0
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
0
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
0
      lastClonedBB =
803
0
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
0
      auto &succ = BB->getSuccessors()[succIdx];
807
0
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
0
      dfsWorklist.push_back(succ);
810
0
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
339
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
339
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
339
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
339
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
339
    asImpl().visitTerminator(origBB);
824
339
  }
825
339
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
1.31k
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
1.31k
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
1.31k
  lastClonedBB = BBMap[startBB];
763
3.12k
  while (!dfsWorklist.empty()) {
764
1.81k
    auto *BB = dfsWorklist.pop_back_val();
765
1.81k
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
1.81k
    if (BB != startBB)
770
499
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
1.81k
    getBuilder().setInsertionPoint(BBMap[BB]);
774
1.81k
    asImpl().visitInstructionsInBlock(BB);
775
776
1.81k
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
1.81k
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
2.47k
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
662
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
163
        if (BB->getSingleSuccessorBlock()
792
163
            && isa<BranchInst>(BB->getTerminator())) {
793
163
          continue;
794
163
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
0
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
0
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
0
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
499
      lastClonedBB =
803
499
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
499
      auto &succ = BB->getSuccessors()[succIdx];
807
499
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
499
      dfsWorklist.push_back(succ);
810
499
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
1.81k
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
1.81k
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
1.81k
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
1.81k
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
1.81k
    asImpl().visitTerminator(origBB);
824
1.81k
  }
825
1.31k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
155
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
155
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
155
  lastClonedBB = BBMap[startBB];
763
4.12k
  while (!dfsWorklist.empty()) {
764
3.97k
    auto *BB = dfsWorklist.pop_back_val();
765
3.97k
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
3.97k
    if (BB != startBB)
770
3.81k
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
3.97k
    getBuilder().setInsertionPoint(BBMap[BB]);
774
3.97k
    asImpl().visitInstructionsInBlock(BB);
775
776
3.97k
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
3.97k
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
9.25k
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
5.28k
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
1.46k
        if (BB->getSingleSuccessorBlock()
792
1.46k
            && isa<BranchInst>(BB->getTerminator())) {
793
1.46k
          continue;
794
1.46k
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
0
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
0
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
0
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
3.81k
      lastClonedBB =
803
3.81k
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
3.81k
      auto &succ = BB->getSuccessors()[succIdx];
807
3.81k
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
3.81k
      dfsWorklist.push_back(succ);
810
3.81k
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
3.97k
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
3.97k
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
3.97k
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
3.97k
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
3.97k
    asImpl().visitTerminator(origBB);
824
3.97k
  }
825
155
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
128
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
128
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
128
  lastClonedBB = BBMap[startBB];
763
314
  while (!dfsWorklist.empty()) {
764
186
    auto *BB = dfsWorklist.pop_back_val();
765
186
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
186
    if (BB != startBB)
770
58
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
186
    getBuilder().setInsertionPoint(BBMap[BB]);
774
186
    asImpl().visitInstructionsInBlock(BB);
775
776
186
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
186
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
256
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
70
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
12
        if (BB->getSingleSuccessorBlock()
792
12
            && isa<BranchInst>(BB->getTerminator())) {
793
12
          continue;
794
12
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
0
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
0
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
0
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
58
      lastClonedBB =
803
58
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
58
      auto &succ = BB->getSuccessors()[succIdx];
807
58
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
58
      dfsWorklist.push_back(succ);
810
58
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
186
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
186
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
186
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
186
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
186
    asImpl().visitTerminator(origBB);
824
186
  }
825
128
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
249
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
249
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
249
  lastClonedBB = BBMap[startBB];
763
11.0k
  while (!dfsWorklist.empty()) {
764
10.7k
    auto *BB = dfsWorklist.pop_back_val();
765
10.7k
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
10.7k
    if (BB != startBB)
770
10.5k
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
10.7k
    getBuilder().setInsertionPoint(BBMap[BB]);
774
10.7k
    asImpl().visitInstructionsInBlock(BB);
775
776
10.7k
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
10.7k
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
23.7k
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
13.0k
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
2.54k
        if (BB->getSingleSuccessorBlock()
792
2.54k
            && isa<BranchInst>(BB->getTerminator())) {
793
2.54k
          continue;
794
2.54k
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
0
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
0
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
0
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
10.5k
      lastClonedBB =
803
10.5k
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
10.5k
      auto &succ = BB->getSuccessors()[succIdx];
807
10.5k
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
10.5k
      dfsWorklist.push_back(succ);
810
10.5k
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
10.7k
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
10.7k
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
10.7k
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
10.7k
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
10.7k
    asImpl().visitTerminator(origBB);
824
10.7k
  }
825
249
}
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
10
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
10
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
10
  lastClonedBB = BBMap[startBB];
763
96
  while (!dfsWorklist.empty()) {
764
86
    auto *BB = dfsWorklist.pop_back_val();
765
86
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
86
    if (BB != startBB)
770
76
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
86
    getBuilder().setInsertionPoint(BBMap[BB]);
774
86
    asImpl().visitInstructionsInBlock(BB);
775
776
86
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
86
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
200
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
114
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
56
        if (BB->getSingleSuccessorBlock()
792
56
            && isa<BranchInst>(BB->getTerminator())) {
793
38
          continue;
794
38
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
18
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
18
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
18
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
76
      lastClonedBB =
803
76
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
76
      auto &succ = BB->getSuccessors()[succIdx];
807
76
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
76
      dfsWorklist.push_back(succ);
810
76
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
86
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
86
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
86
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
86
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
86
    asImpl().visitTerminator(origBB);
824
86
  }
825
10
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
2.62k
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
2.62k
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
2.62k
  lastClonedBB = BBMap[startBB];
763
10.4k
  while (!dfsWorklist.empty()) {
764
7.87k
    auto *BB = dfsWorklist.pop_back_val();
765
7.87k
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
7.87k
    if (BB != startBB)
770
5.24k
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
7.87k
    getBuilder().setInsertionPoint(BBMap[BB]);
774
7.87k
    asImpl().visitInstructionsInBlock(BB);
775
776
7.87k
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
7.87k
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
18.3k
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
10.4k
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
7.87k
        if (BB->getSingleSuccessorBlock()
792
7.87k
            && isa<BranchInst>(BB->getTerminator())) {
793
5.24k
          continue;
794
5.24k
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
2.62k
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
2.62k
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
2.62k
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
5.24k
      lastClonedBB =
803
5.24k
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
5.24k
      auto &succ = BB->getSuccessors()[succIdx];
807
5.24k
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
5.24k
      dfsWorklist.push_back(succ);
810
5.24k
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
7.87k
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
7.87k
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
7.87k
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
7.87k
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
7.87k
    asImpl().visitTerminator(origBB);
824
7.87k
  }
825
2.62k
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
8
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
8
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
8
  lastClonedBB = BBMap[startBB];
763
46
  while (!dfsWorklist.empty()) {
764
38
    auto *BB = dfsWorklist.pop_back_val();
765
38
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
38
    if (BB != startBB)
770
30
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
38
    getBuilder().setInsertionPoint(BBMap[BB]);
774
38
    asImpl().visitInstructionsInBlock(BB);
775
776
38
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
38
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
74
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
36
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
6
        if (BB->getSingleSuccessorBlock()
792
6
            && isa<BranchInst>(BB->getTerminator())) {
793
6
          continue;
794
6
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
0
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
0
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
0
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
30
      lastClonedBB =
803
30
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
30
      auto &succ = BB->getSuccessors()[succIdx];
807
30
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
30
      dfsWorklist.push_back(succ);
810
30
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
38
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
38
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
38
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
38
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
38
    asImpl().visitTerminator(origBB);
824
38
  }
825
8
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
18.6k
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
18.6k
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
18.6k
  lastClonedBB = BBMap[startBB];
763
73.7k
  while (!dfsWorklist.empty()) {
764
55.1k
    auto *BB = dfsWorklist.pop_back_val();
765
55.1k
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
55.1k
    if (BB != startBB)
770
36.5k
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
55.1k
    getBuilder().setInsertionPoint(BBMap[BB]);
774
55.1k
    asImpl().visitInstructionsInBlock(BB);
775
776
55.1k
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
55.1k
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
128k
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
73.6k
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
73.6k
        if (BB->getSingleSuccessorBlock()
792
73.6k
            && isa<BranchInst>(BB->getTerminator())) {
793
37.1k
          continue;
794
37.1k
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
36.5k
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
36.5k
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
36.5k
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
36.5k
      lastClonedBB =
803
36.5k
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
36.5k
      auto &succ = BB->getSuccessors()[succIdx];
807
36.5k
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
36.5k
      dfsWorklist.push_back(succ);
810
36.5k
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
55.1k
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
55.1k
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
55.1k
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
55.1k
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
55.1k
    asImpl().visitTerminator(origBB);
824
55.1k
  }
825
18.6k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
5
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
5
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
5
  lastClonedBB = BBMap[startBB];
763
54
  while (!dfsWorklist.empty()) {
764
49
    auto *BB = dfsWorklist.pop_back_val();
765
49
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
49
    if (BB != startBB)
770
44
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
49
    getBuilder().setInsertionPoint(BBMap[BB]);
774
49
    asImpl().visitInstructionsInBlock(BB);
775
776
49
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
49
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
104
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
55
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
11
        if (BB->getSingleSuccessorBlock()
792
11
            && isa<BranchInst>(BB->getTerminator())) {
793
11
          continue;
794
11
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
0
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
0
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
0
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
44
      lastClonedBB =
803
44
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
44
      auto &succ = BB->getSuccessors()[succIdx];
807
44
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
44
      dfsWorklist.push_back(succ);
810
44
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
49
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
49
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
49
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
49
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
49
    asImpl().visitTerminator(origBB);
824
49
  }
825
5
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
_ZN5swift9SILClonerINS_13GenericClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
25.4k
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
25.4k
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
25.4k
  lastClonedBB = BBMap[startBB];
763
354k
  while (!dfsWorklist.empty()) {
764
329k
    auto *BB = dfsWorklist.pop_back_val();
765
329k
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
329k
    if (BB != startBB)
770
303k
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
329k
    getBuilder().setInsertionPoint(BBMap[BB]);
774
329k
    asImpl().visitInstructionsInBlock(BB);
775
776
329k
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
329k
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
714k
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
385k
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
81.9k
        if (BB->getSingleSuccessorBlock()
792
81.9k
            && isa<BranchInst>(BB->getTerminator())) {
793
81.9k
          continue;
794
81.9k
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
0
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
0
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
0
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
303k
      lastClonedBB =
803
303k
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
303k
      auto &succ = BB->getSuccessors()[succIdx];
807
303k
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
303k
      dfsWorklist.push_back(succ);
810
303k
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
329k
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
329k
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
329k
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
329k
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
329k
    asImpl().visitTerminator(origBB);
824
329k
  }
825
25.4k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitBlocksDepthFirstEPNS_13SILBasicBlockE
Line
Count
Source
745
161k
void SILCloner<ImplClass>::visitBlocksDepthFirst(SILBasicBlock *startBB) {
746
  // The caller clones startBB because it may be a function header, which
747
  // requires special handling.
748
161k
  assert(BBMap.count(startBB) && "The caller must map the first BB.");
749
750
0
  assert(preorderBlocks.empty());
751
752
  // First clone the CFG region.
753
  //
754
  // FIXME: Add reverse iteration to SILSuccessor, then convert this to an RPOT
755
  // traversal. We would prefer to keep CFG regions in RPO order, and this would
756
  // not create as large a worklist for functions with many large switches.
757
0
  SmallVector<SILBasicBlock *, 8> dfsWorklist(1, startBB);
758
  // Keep a reference to the last cloned BB so blocks can be laid out in the
759
  // order they are created, which differs from the order they are
760
  // cloned. Blocks are created in BFS order but cloned in DFS preorder (when no
761
  // critical edges are present).
762
161k
  lastClonedBB = BBMap[startBB];
763
984k
  while (!dfsWorklist.empty()) {
764
823k
    auto *BB = dfsWorklist.pop_back_val();
765
823k
    preorderBlocks.push_back(BB);
766
767
    // Phis are cloned during the first preorder walk so that successor phis
768
    // exist before predecessor terminators are generated.
769
823k
    if (BB != startBB)
770
662k
      clonePhiArgs(BB);
771
772
    // Non-terminating instructions are cloned in the first preorder walk.
773
823k
    getBuilder().setInsertionPoint(BBMap[BB]);
774
823k
    asImpl().visitInstructionsInBlock(BB);
775
776
823k
    unsigned dfsSuccStartIdx = dfsWorklist.size();
777
778
    // splitEdge may rewrite BB's successors during this loop.
779
823k
    for (unsigned succIdx = 0, numSucc = BB->getSuccessors().size();
780
1.64M
         succIdx != numSucc; ++succIdx) {
781
782
      // Only visit a successor that has not already been visited and was not
783
      // premapped by the client.
784
822k
      if (BBMap.count(BB->getSuccessors()[succIdx])) {
785
        // After cloning BB, this successor may be a new CFG merge. If it is
786
        // valid to branch directly from the BB to its clone do nothing; if not,
787
        // split the edge from BB->succ and clone the new block.
788
        //
789
        // A CFG merge may require new block arguments, so check for both a
790
        // critical edge and the ability to add branch arguments (BranchInst).
791
160k
        if (BB->getSingleSuccessorBlock()
792
160k
            && isa<BranchInst>(BB->getTerminator())) {
793
160k
          continue;
794
160k
        }
795
        // This predecessor has multiple successors, so cloning it without
796
        // cloning its successors would create a critical edge.
797
0
        splitEdge(BB->getTerminator(), succIdx, DomTree);
798
0
        assert(!BBMap.count(BB->getSuccessors()[succIdx]));
799
0
      }
800
      // Map the successor to a new BB. Layout the cloned blocks in the order
801
      // they are visited and cloned.
802
662k
      lastClonedBB =
803
662k
          getBuilder().getFunction().createBasicBlockAfter(lastClonedBB);
804
805
      // After splitting, BB has stable successors.
806
662k
      auto &succ = BB->getSuccessors()[succIdx];
807
662k
      BBMap.insert(std::make_pair(succ.getBB(), lastClonedBB));
808
809
662k
      dfsWorklist.push_back(succ);
810
662k
    }
811
    // Reverse the worklist to pop the successors in forward order. This
812
    // precisely yields DFS preorder when no critical edges are present.
813
823k
    std::reverse(dfsWorklist.begin() + dfsSuccStartIdx, dfsWorklist.end());
814
823k
  }
815
  // Visit terminators only after the CFG is valid so all branch targets exist.
816
  //
817
  // Visiting in pre-order provides a nice property for the individual
818
  // instruction visitors. It allows those visitors to make use of dominance
819
  // relationships, particularly the fact that operand values will be mapped.
820
823k
  for (auto *origBB : preorderBlocks) {
821
    // Set the insertion point to the new mapped BB
822
823k
    getBuilder().setInsertionPoint(BBMap[origBB]);
823
823k
    asImpl().visitTerminator(origBB);
824
823k
  }
825
161k
}
826
827
/// Clean-up after cloning.
828
template <typename ImplClass>
829
210k
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
210k
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
210k
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
491k
    for (auto &Block : getBuilder().getFunction()) {
837
491k
      auto *Term = Block.getTerminator();
838
491k
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
47.9k
        auto *FailureBlock = CCBI->getFailureBB();
841
47.9k
        assert(FailureBlock->getNumArguments() <= 1 &&
842
47.9k
               "We should either have no args or a single default arg");
843
47.9k
        if (0 == FailureBlock->getNumArguments())
844
47.8k
          continue;
845
159
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
159
        FailureBlock->eraseArgument(0);
847
159
        continue;
848
47.9k
      }
849
850
443k
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
32.5k
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
69
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
69
                 "We should either have no args or a single default arg");
854
69
          if (0 == DefaultBlock.get()->getNumArguments())
855
69
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
69
        }
861
32.5k
      }
862
443k
    }
863
9.49k
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
210k
  asImpl().postFixUp(F);
867
210k
}
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
1
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
1
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
1
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
1
  asImpl().postFixUp(F);
867
1
}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
339
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
339
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
339
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
339
  asImpl().postFixUp(F);
867
339
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
1.31k
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
1.31k
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
1.31k
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
1.31k
  asImpl().postFixUp(F);
867
1.31k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
155
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
155
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
155
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
155
  asImpl().postFixUp(F);
867
155
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
128
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
128
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
128
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
128
  asImpl().postFixUp(F);
867
128
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
249
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
249
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
249
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
249
  asImpl().postFixUp(F);
867
249
}
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
10
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
10
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
10
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
10
  asImpl().postFixUp(F);
867
10
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
2.62k
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
2.62k
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
2.62k
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
2.62k
  asImpl().postFixUp(F);
867
2.62k
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
8
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
8
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
8
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
8
  asImpl().postFixUp(F);
867
8
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE11commonFixUpEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
18.6k
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
18.6k
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
18.6k
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
18.6k
  asImpl().postFixUp(F);
867
18.6k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE11commonFixUpEPNS_11SILFunctionE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
5
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
5
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
5
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
5
  asImpl().postFixUp(F);
867
5
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE11commonFixUpEPNS_11SILFunctionE
_ZN5swift9SILClonerINS_13GenericClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
25.4k
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
25.4k
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
25.4k
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
0
    for (auto &Block : getBuilder().getFunction()) {
837
0
      auto *Term = Block.getTerminator();
838
0
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
0
        auto *FailureBlock = CCBI->getFailureBB();
841
0
        assert(FailureBlock->getNumArguments() <= 1 &&
842
0
               "We should either have no args or a single default arg");
843
0
        if (0 == FailureBlock->getNumArguments())
844
0
          continue;
845
0
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
0
        FailureBlock->eraseArgument(0);
847
0
        continue;
848
0
      }
849
850
0
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
0
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
0
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
0
                 "We should either have no args or a single default arg");
854
0
          if (0 == DefaultBlock.get()->getNumArguments())
855
0
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
0
        }
861
0
      }
862
0
    }
863
0
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
25.4k
  asImpl().postFixUp(F);
867
25.4k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE11commonFixUpEPNS_11SILFunctionE
Line
Count
Source
829
161k
void SILCloner<ImplClass>::commonFixUp(SILFunction *F) {
830
  // Call any cleanup specific to the CRTP extensions.
831
161k
  asImpl().preFixUp(F);
832
833
  // If our source function is in ossa form, but the function into which we are
834
  // cloning is not in ossa, after we clone, eliminate default arguments.
835
161k
  if (!getBuilder().hasOwnership() && F->hasOwnership()) {
836
491k
    for (auto &Block : getBuilder().getFunction()) {
837
491k
      auto *Term = Block.getTerminator();
838
491k
      if (auto *CCBI = dyn_cast<CheckedCastBranchInst>(Term)) {
839
        // Check if we have a default argument.
840
47.9k
        auto *FailureBlock = CCBI->getFailureBB();
841
47.9k
        assert(FailureBlock->getNumArguments() <= 1 &&
842
47.9k
               "We should either have no args or a single default arg");
843
47.9k
        if (0 == FailureBlock->getNumArguments())
844
47.8k
          continue;
845
159
        FailureBlock->getArgument(0)->replaceAllUsesWith(CCBI->getOperand());
846
159
        FailureBlock->eraseArgument(0);
847
159
        continue;
848
47.9k
      }
849
850
443k
      if (auto *SEI = dyn_cast<SwitchEnumInst>(Term)) {
851
32.5k
        if (auto DefaultBlock = SEI->getDefaultBBOrNull()) {
852
69
          assert(DefaultBlock.get()->getNumArguments() <= 1 &&
853
69
                 "We should either have no args or a single default arg");
854
69
          if (0 == DefaultBlock.get()->getNumArguments())
855
69
            continue;
856
0
          DefaultBlock.get()->getArgument(0)->replaceAllUsesWith(
857
0
              SEI->getOperand());
858
0
          DefaultBlock.get()->eraseArgument(0);
859
0
          continue;
860
69
        }
861
32.5k
      }
862
443k
    }
863
9.49k
  }
864
865
  // Call any cleanup specific to the CRTP extensions.
866
161k
  asImpl().postFixUp(F);
867
161k
}
868
869
template<typename ImplClass>
870
void
871
87.1k
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
87.1k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
87.1k
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
87.1k
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
87.1k
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
18.4k
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
18.4k
    VarInfo = llvm::None;
879
18.4k
  }
880
87.1k
  auto *NewInst = getBuilder().createAllocStack(
881
87.1k
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
87.1k
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
87.1k
      Inst->getUsesMoveableValueDebugInfo()
884
87.1k
#ifndef NDEBUG
885
87.1k
    , true
886
87.1k
#endif
887
87.1k
  );
888
87.1k
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
87.1k
  recordClonedInstruction(Inst, NewInst);
890
87.1k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
315
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
315
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
315
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
315
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
315
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
0
    VarInfo = llvm::None;
879
0
  }
880
315
  auto *NewInst = getBuilder().createAllocStack(
881
315
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
315
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
315
      Inst->getUsesMoveableValueDebugInfo()
884
315
#ifndef NDEBUG
885
315
    , true
886
315
#endif
887
315
  );
888
315
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
315
  recordClonedInstruction(Inst, NewInst);
890
315
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
1.61k
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
1.61k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
1.61k
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
1.61k
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
1.61k
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
0
    VarInfo = llvm::None;
879
0
  }
880
1.61k
  auto *NewInst = getBuilder().createAllocStack(
881
1.61k
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
1.61k
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
1.61k
      Inst->getUsesMoveableValueDebugInfo()
884
1.61k
#ifndef NDEBUG
885
1.61k
    , true
886
1.61k
#endif
887
1.61k
  );
888
1.61k
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
1.61k
  recordClonedInstruction(Inst, NewInst);
890
1.61k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
835
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
835
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
835
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
835
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
835
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
4
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
4
    VarInfo = llvm::None;
879
4
  }
880
835
  auto *NewInst = getBuilder().createAllocStack(
881
835
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
835
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
835
      Inst->getUsesMoveableValueDebugInfo()
884
835
#ifndef NDEBUG
885
835
    , true
886
835
#endif
887
835
  );
888
835
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
835
  recordClonedInstruction(Inst, NewInst);
890
835
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
131
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
131
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
131
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
131
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
131
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
0
    VarInfo = llvm::None;
879
0
  }
880
131
  auto *NewInst = getBuilder().createAllocStack(
881
131
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
131
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
131
      Inst->getUsesMoveableValueDebugInfo()
884
131
#ifndef NDEBUG
885
131
    , true
886
131
#endif
887
131
  );
888
131
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
131
  recordClonedInstruction(Inst, NewInst);
890
131
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
767
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
767
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
767
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
767
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
767
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
12
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
12
    VarInfo = llvm::None;
879
12
  }
880
767
  auto *NewInst = getBuilder().createAllocStack(
881
767
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
767
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
767
      Inst->getUsesMoveableValueDebugInfo()
884
767
#ifndef NDEBUG
885
767
    , true
886
767
#endif
887
767
  );
888
767
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
767
  recordClonedInstruction(Inst, NewInst);
890
767
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
28
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
28
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
28
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
28
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
28
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
0
    VarInfo = llvm::None;
879
0
  }
880
28
  auto *NewInst = getBuilder().createAllocStack(
881
28
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
28
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
28
      Inst->getUsesMoveableValueDebugInfo()
884
28
#ifndef NDEBUG
885
28
    , true
886
28
#endif
887
28
  );
888
28
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
28
  recordClonedInstruction(Inst, NewInst);
890
28
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
52
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
52
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
52
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
52
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
52
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
0
    VarInfo = llvm::None;
879
0
  }
880
52
  auto *NewInst = getBuilder().createAllocStack(
881
52
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
52
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
52
      Inst->getUsesMoveableValueDebugInfo()
884
52
#ifndef NDEBUG
885
52
    , true
886
52
#endif
887
52
  );
888
52
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
52
  recordClonedInstruction(Inst, NewInst);
890
52
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
52
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
52
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
52
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
52
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
52
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
0
    VarInfo = llvm::None;
879
0
  }
880
52
  auto *NewInst = getBuilder().createAllocStack(
881
52
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
52
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
52
      Inst->getUsesMoveableValueDebugInfo()
884
52
#ifndef NDEBUG
885
52
    , true
886
52
#endif
887
52
  );
888
52
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
52
  recordClonedInstruction(Inst, NewInst);
890
52
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitAllocStackInstEPNS_14AllocStackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
62
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
62
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
62
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
62
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
62
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
2
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
2
    VarInfo = llvm::None;
879
2
  }
880
62
  auto *NewInst = getBuilder().createAllocStack(
881
62
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
62
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
62
      Inst->getUsesMoveableValueDebugInfo()
884
62
#ifndef NDEBUG
885
62
    , true
886
62
#endif
887
62
  );
888
62
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
62
  recordClonedInstruction(Inst, NewInst);
890
62
}
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
2
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
2
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
2
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
2
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
0
    VarInfo = llvm::None;
879
0
  }
880
2
  auto *NewInst = getBuilder().createAllocStack(
881
2
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
2
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
2
      Inst->getUsesMoveableValueDebugInfo()
884
2
#ifndef NDEBUG
885
2
    , true
886
2
#endif
887
2
  );
888
2
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
2
  recordClonedInstruction(Inst, NewInst);
890
2
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitAllocStackInstEPNS_14AllocStackInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
36.6k
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
36.6k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
36.6k
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
36.6k
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
36.6k
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
261
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
261
    VarInfo = llvm::None;
879
261
  }
880
36.6k
  auto *NewInst = getBuilder().createAllocStack(
881
36.6k
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
36.6k
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
36.6k
      Inst->getUsesMoveableValueDebugInfo()
884
36.6k
#ifndef NDEBUG
885
36.6k
    , true
886
36.6k
#endif
887
36.6k
  );
888
36.6k
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
36.6k
  recordClonedInstruction(Inst, NewInst);
890
36.6k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
Line
Count
Source
871
46.6k
SILCloner<ImplClass>::visitAllocStackInst(AllocStackInst *Inst) {
872
46.6k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
873
  // Drop the debug info from mandatory-inlined instructions. It's the law!
874
46.6k
  SILLocation Loc = getOpLocation(Inst->getLoc());
875
46.6k
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
876
46.6k
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
877
18.2k
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
878
18.2k
    VarInfo = llvm::None;
879
18.2k
  }
880
46.6k
  auto *NewInst = getBuilder().createAllocStack(
881
46.6k
      Loc, getOpType(Inst->getElementType()), VarInfo,
882
46.6k
      Inst->hasDynamicLifetime(), Inst->isLexical(),
883
46.6k
      Inst->getUsesMoveableValueDebugInfo()
884
46.6k
#ifndef NDEBUG
885
46.6k
    , true
886
46.6k
#endif
887
46.6k
  );
888
46.6k
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
889
46.6k
  recordClonedInstruction(Inst, NewInst);
890
46.6k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitAllocStackInstEPNS_14AllocStackInstE
891
892
template <typename ImplClass>
893
void SILCloner<ImplClass>::visitAllocPackMetadataInst(
894
0
    AllocPackMetadataInst *Inst) {
895
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
896
0
  recordClonedInstruction(Inst, getBuilder().createAllocPackMetadata(
897
0
                                    getOpLocation(Inst->getLoc())));
898
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitAllocPackMetadataInstEPNS_21AllocPackMetadataInstE
899
900
template<typename ImplClass>
901
void
902
0
SILCloner<ImplClass>::visitAllocPackInst(AllocPackInst *Inst) {
903
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
904
0
  SILLocation Loc = getOpLocation(Inst->getLoc());
905
0
  auto *NewInst = getBuilder().createAllocPack(
906
0
      Loc, getOpType(Inst->getType().getObjectType()));
907
0
  recordClonedInstruction(Inst, NewInst);
908
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitAllocPackInstEPNS_13AllocPackInstE
909
910
template<typename ImplClass>
911
void
912
967
SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) {
913
967
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
914
967
  auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst->
915
967
                                                    getTailAllocatedCounts()));
916
967
  SmallVector<SILType, 4> ElemTypes;
917
967
  for (SILType OrigElemType : Inst->getTailAllocatedTypes()) {
918
724
    ElemTypes.push_back(getOpType(OrigElemType));
919
724
  }
920
967
  auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()),
921
967
                                      getOpType(Inst->getType()),
922
967
                                      Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(),
923
967
                                      ElemTypes, CountArgs);
924
967
  recordClonedInstruction(Inst, NewInst);
925
967
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitAllocRefInstEPNS_12AllocRefInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitAllocRefInstEPNS_12AllocRefInstE
Line
Count
Source
912
10
SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) {
913
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
914
10
  auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst->
915
10
                                                    getTailAllocatedCounts()));
916
10
  SmallVector<SILType, 4> ElemTypes;
917
10
  for (SILType OrigElemType : Inst->getTailAllocatedTypes()) {
918
0
    ElemTypes.push_back(getOpType(OrigElemType));
919
0
  }
920
10
  auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()),
921
10
                                      getOpType(Inst->getType()),
922
10
                                      Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(),
923
10
                                      ElemTypes, CountArgs);
924
10
  recordClonedInstruction(Inst, NewInst);
925
10
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Line
Count
Source
912
2
SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) {
913
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
914
2
  auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst->
915
2
                                                    getTailAllocatedCounts()));
916
2
  SmallVector<SILType, 4> ElemTypes;
917
2
  for (SILType OrigElemType : Inst->getTailAllocatedTypes()) {
918
2
    ElemTypes.push_back(getOpType(OrigElemType));
919
2
  }
920
2
  auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()),
921
2
                                      getOpType(Inst->getType()),
922
2
                                      Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(),
923
2
                                      ElemTypes, CountArgs);
924
2
  recordClonedInstruction(Inst, NewInst);
925
2
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Line
Count
Source
912
1
SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) {
913
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
914
1
  auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst->
915
1
                                                    getTailAllocatedCounts()));
916
1
  SmallVector<SILType, 4> ElemTypes;
917
1
  for (SILType OrigElemType : Inst->getTailAllocatedTypes()) {
918
1
    ElemTypes.push_back(getOpType(OrigElemType));
919
1
  }
920
1
  auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()),
921
1
                                      getOpType(Inst->getType()),
922
1
                                      Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(),
923
1
                                      ElemTypes, CountArgs);
924
1
  recordClonedInstruction(Inst, NewInst);
925
1
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitAllocRefInstEPNS_12AllocRefInstE
_ZN5swift9SILClonerINS_13GenericClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Line
Count
Source
912
46
SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) {
913
46
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
914
46
  auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst->
915
46
                                                    getTailAllocatedCounts()));
916
46
  SmallVector<SILType, 4> ElemTypes;
917
46
  for (SILType OrigElemType : Inst->getTailAllocatedTypes()) {
918
11
    ElemTypes.push_back(getOpType(OrigElemType));
919
11
  }
920
46
  auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()),
921
46
                                      getOpType(Inst->getType()),
922
46
                                      Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(),
923
46
                                      ElemTypes, CountArgs);
924
46
  recordClonedInstruction(Inst, NewInst);
925
46
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
Line
Count
Source
912
908
SILCloner<ImplClass>::visitAllocRefInst(AllocRefInst *Inst) {
913
908
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
914
908
  auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst->
915
908
                                                    getTailAllocatedCounts()));
916
908
  SmallVector<SILType, 4> ElemTypes;
917
908
  for (SILType OrigElemType : Inst->getTailAllocatedTypes()) {
918
710
    ElemTypes.push_back(getOpType(OrigElemType));
919
710
  }
920
908
  auto *NewInst = getBuilder().createAllocRef(getOpLocation(Inst->getLoc()),
921
908
                                      getOpType(Inst->getType()),
922
908
                                      Inst->isObjC(), Inst->canAllocOnStack(), Inst->isBare(),
923
908
                                      ElemTypes, CountArgs);
924
908
  recordClonedInstruction(Inst, NewInst);
925
908
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitAllocRefInstEPNS_12AllocRefInstE
926
927
template<typename ImplClass>
928
void
929
707
SILCloner<ImplClass>::visitAllocRefDynamicInst(AllocRefDynamicInst *Inst) {
930
707
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
931
707
  auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst->
932
707
                                                  getTailAllocatedCounts()));
933
707
  SmallVector<SILType, 4> ElemTypes;
934
707
  for (SILType OrigElemType : Inst->getTailAllocatedTypes()) {
935
682
    ElemTypes.push_back(getOpType(OrigElemType));
936
682
  }
937
707
  auto *NewInst = getBuilder().createAllocRefDynamic(
938
707
                                      getOpLocation(Inst->getLoc()),
939
707
                                      getOpValue(Inst->getMetatypeOperand()),
940
707
                                      getOpType(Inst->getType()),
941
707
                                      Inst->isObjC(),
942
707
                                      Inst->canAllocOnStack(),
943
707
                                      ElemTypes, CountArgs);
944
707
  recordClonedInstruction(Inst, NewInst);
945
707
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
_ZN5swift9SILClonerINS_13GenericClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Line
Count
Source
929
611
SILCloner<ImplClass>::visitAllocRefDynamicInst(AllocRefDynamicInst *Inst) {
930
611
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
931
611
  auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst->
932
611
                                                  getTailAllocatedCounts()));
933
611
  SmallVector<SILType, 4> ElemTypes;
934
611
  for (SILType OrigElemType : Inst->getTailAllocatedTypes()) {
935
611
    ElemTypes.push_back(getOpType(OrigElemType));
936
611
  }
937
611
  auto *NewInst = getBuilder().createAllocRefDynamic(
938
611
                                      getOpLocation(Inst->getLoc()),
939
611
                                      getOpValue(Inst->getMetatypeOperand()),
940
611
                                      getOpType(Inst->getType()),
941
611
                                      Inst->isObjC(),
942
611
                                      Inst->canAllocOnStack(),
943
611
                                      ElemTypes, CountArgs);
944
611
  recordClonedInstruction(Inst, NewInst);
945
611
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
Line
Count
Source
929
96
SILCloner<ImplClass>::visitAllocRefDynamicInst(AllocRefDynamicInst *Inst) {
930
96
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
931
96
  auto CountArgs = getOpValueArray<8>(OperandValueArrayRef(Inst->
932
96
                                                  getTailAllocatedCounts()));
933
96
  SmallVector<SILType, 4> ElemTypes;
934
96
  for (SILType OrigElemType : Inst->getTailAllocatedTypes()) {
935
71
    ElemTypes.push_back(getOpType(OrigElemType));
936
71
  }
937
96
  auto *NewInst = getBuilder().createAllocRefDynamic(
938
96
                                      getOpLocation(Inst->getLoc()),
939
96
                                      getOpValue(Inst->getMetatypeOperand()),
940
96
                                      getOpType(Inst->getType()),
941
96
                                      Inst->isObjC(),
942
96
                                      Inst->canAllocOnStack(),
943
96
                                      ElemTypes, CountArgs);
944
96
  recordClonedInstruction(Inst, NewInst);
945
96
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitAllocRefDynamicInstEPNS_19AllocRefDynamicInstE
946
947
template<typename ImplClass>
948
void
949
54
SILCloner<ImplClass>::visitAllocBoxInst(AllocBoxInst *Inst) {
950
54
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
951
  // Drop the debug info from mandatory-inlined instructions.
952
54
  SILLocation Loc = getOpLocation(Inst->getLoc());
953
54
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
954
54
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
955
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
956
0
    VarInfo = llvm::None;
957
0
  }
958
959
54
  recordClonedInstruction(
960
54
      Inst,
961
54
      getBuilder().createAllocBox(
962
54
          Loc, this->getOpType(Inst->getType()).template castTo<SILBoxType>(),
963
54
          VarInfo, /*hasDynamicLifetime*/ false,
964
54
          /*reflection*/ false,
965
54
          /*usesMoveableValueDebugInfo*/ false, /*skipVarDeclAssert*/ true
966
54
          ));
967
54
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Line
Count
Source
949
8
SILCloner<ImplClass>::visitAllocBoxInst(AllocBoxInst *Inst) {
950
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
951
  // Drop the debug info from mandatory-inlined instructions.
952
8
  SILLocation Loc = getOpLocation(Inst->getLoc());
953
8
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
954
8
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
955
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
956
0
    VarInfo = llvm::None;
957
0
  }
958
959
8
  recordClonedInstruction(
960
8
      Inst,
961
8
      getBuilder().createAllocBox(
962
8
          Loc, this->getOpType(Inst->getType()).template castTo<SILBoxType>(),
963
8
          VarInfo, /*hasDynamicLifetime*/ false,
964
8
          /*reflection*/ false,
965
8
          /*usesMoveableValueDebugInfo*/ false, /*skipVarDeclAssert*/ true
966
8
          ));
967
8
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Line
Count
Source
949
10
SILCloner<ImplClass>::visitAllocBoxInst(AllocBoxInst *Inst) {
950
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
951
  // Drop the debug info from mandatory-inlined instructions.
952
10
  SILLocation Loc = getOpLocation(Inst->getLoc());
953
10
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
954
10
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
955
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
956
0
    VarInfo = llvm::None;
957
0
  }
958
959
10
  recordClonedInstruction(
960
10
      Inst,
961
10
      getBuilder().createAllocBox(
962
10
          Loc, this->getOpType(Inst->getType()).template castTo<SILBoxType>(),
963
10
          VarInfo, /*hasDynamicLifetime*/ false,
964
10
          /*reflection*/ false,
965
10
          /*usesMoveableValueDebugInfo*/ false, /*skipVarDeclAssert*/ true
966
10
          ));
967
10
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitAllocBoxInstEPNS_12AllocBoxInstE
_ZN5swift9SILClonerINS_13GenericClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Line
Count
Source
949
18
SILCloner<ImplClass>::visitAllocBoxInst(AllocBoxInst *Inst) {
950
18
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
951
  // Drop the debug info from mandatory-inlined instructions.
952
18
  SILLocation Loc = getOpLocation(Inst->getLoc());
953
18
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
954
18
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
955
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
956
0
    VarInfo = llvm::None;
957
0
  }
958
959
18
  recordClonedInstruction(
960
18
      Inst,
961
18
      getBuilder().createAllocBox(
962
18
          Loc, this->getOpType(Inst->getType()).template castTo<SILBoxType>(),
963
18
          VarInfo, /*hasDynamicLifetime*/ false,
964
18
          /*reflection*/ false,
965
18
          /*usesMoveableValueDebugInfo*/ false, /*skipVarDeclAssert*/ true
966
18
          ));
967
18
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
Line
Count
Source
949
18
SILCloner<ImplClass>::visitAllocBoxInst(AllocBoxInst *Inst) {
950
18
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
951
  // Drop the debug info from mandatory-inlined instructions.
952
18
  SILLocation Loc = getOpLocation(Inst->getLoc());
953
18
  llvm::Optional<SILDebugVariable> VarInfo = Inst->getVarInfo();
954
18
  if (Loc.getKind() == SILLocation::MandatoryInlinedKind) {
955
0
    Loc = MandatoryInlinedLocation::getAutoGeneratedLocation();
956
0
    VarInfo = llvm::None;
957
0
  }
958
959
18
  recordClonedInstruction(
960
18
      Inst,
961
18
      getBuilder().createAllocBox(
962
18
          Loc, this->getOpType(Inst->getType()).template castTo<SILBoxType>(),
963
18
          VarInfo, /*hasDynamicLifetime*/ false,
964
18
          /*reflection*/ false,
965
18
          /*usesMoveableValueDebugInfo*/ false, /*skipVarDeclAssert*/ true
966
18
          ));
967
18
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitAllocBoxInstEPNS_12AllocBoxInstE
968
969
template<typename ImplClass>
970
void
971
SILCloner<ImplClass>::visitAllocExistentialBoxInst(
972
28
                                                AllocExistentialBoxInst *Inst) {
973
28
  auto origExistentialType = Inst->getExistentialType();
974
28
  auto origFormalType = Inst->getFormalConcreteType();
975
976
28
  auto conformances = getOpConformances(origFormalType,
977
28
                                        Inst->getConformances());
978
979
28
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
980
28
  recordClonedInstruction(
981
28
      Inst, getBuilder().createAllocExistentialBox(
982
28
                getOpLocation(Inst->getLoc()), getOpType(origExistentialType),
983
28
                getOpASTType(origFormalType), conformances));
984
28
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Line
Count
Source
972
1
                                                AllocExistentialBoxInst *Inst) {
973
1
  auto origExistentialType = Inst->getExistentialType();
974
1
  auto origFormalType = Inst->getFormalConcreteType();
975
976
1
  auto conformances = getOpConformances(origFormalType,
977
1
                                        Inst->getConformances());
978
979
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
980
1
  recordClonedInstruction(
981
1
      Inst, getBuilder().createAllocExistentialBox(
982
1
                getOpLocation(Inst->getLoc()), getOpType(origExistentialType),
983
1
                getOpASTType(origFormalType), conformances));
984
1
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
_ZN5swift9SILClonerINS_13GenericClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Line
Count
Source
972
10
                                                AllocExistentialBoxInst *Inst) {
973
10
  auto origExistentialType = Inst->getExistentialType();
974
10
  auto origFormalType = Inst->getFormalConcreteType();
975
976
10
  auto conformances = getOpConformances(origFormalType,
977
10
                                        Inst->getConformances());
978
979
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
980
10
  recordClonedInstruction(
981
10
      Inst, getBuilder().createAllocExistentialBox(
982
10
                getOpLocation(Inst->getLoc()), getOpType(origExistentialType),
983
10
                getOpASTType(origFormalType), conformances));
984
10
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
Line
Count
Source
972
17
                                                AllocExistentialBoxInst *Inst) {
973
17
  auto origExistentialType = Inst->getExistentialType();
974
17
  auto origFormalType = Inst->getFormalConcreteType();
975
976
17
  auto conformances = getOpConformances(origFormalType,
977
17
                                        Inst->getConformances());
978
979
17
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
980
17
  recordClonedInstruction(
981
17
      Inst, getBuilder().createAllocExistentialBox(
982
17
                getOpLocation(Inst->getLoc()), getOpType(origExistentialType),
983
17
                getOpASTType(origFormalType), conformances));
984
17
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitAllocExistentialBoxInstEPNS_23AllocExistentialBoxInstE
985
986
template<typename ImplClass>
987
void
988
1.37M
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
1.37M
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
1.37M
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
1.37M
  recordClonedInstruction(
992
1.37M
      Inst, getBuilder().createBuiltin(
993
1.37M
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
1.37M
                getOpType(Inst->getType()),
995
1.37M
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
1.37M
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE16visitBuiltinInstEPNS_11BuiltinInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE16visitBuiltinInstEPNS_11BuiltinInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
1.18k
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
1.18k
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
1.18k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
1.18k
  recordClonedInstruction(
992
1.18k
      Inst, getBuilder().createBuiltin(
993
1.18k
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
1.18k
                getOpType(Inst->getType()),
995
1.18k
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
1.18k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
95
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
95
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
95
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
95
  recordClonedInstruction(
992
95
      Inst, getBuilder().createBuiltin(
993
95
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
95
                getOpType(Inst->getType()),
995
95
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
95
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
12.6k
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
12.6k
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
12.6k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
12.6k
  recordClonedInstruction(
992
12.6k
      Inst, getBuilder().createBuiltin(
993
12.6k
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
12.6k
                getOpType(Inst->getType()),
995
12.6k
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
12.6k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
5
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
5
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
5
  recordClonedInstruction(
992
5
      Inst, getBuilder().createBuiltin(
993
5
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
5
                getOpType(Inst->getType()),
995
5
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
5
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
48
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
48
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
48
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
48
  recordClonedInstruction(
992
48
      Inst, getBuilder().createBuiltin(
993
48
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
48
                getOpType(Inst->getType()),
995
48
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
48
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
20.8k
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
20.8k
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
20.8k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
20.8k
  recordClonedInstruction(
992
20.8k
      Inst, getBuilder().createBuiltin(
993
20.8k
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
20.8k
                getOpType(Inst->getType()),
995
20.8k
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
20.8k
}
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
7.80k
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
7.80k
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
7.80k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
7.80k
  recordClonedInstruction(
992
7.80k
      Inst, getBuilder().createBuiltin(
993
7.80k
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
7.80k
                getOpType(Inst->getType()),
995
7.80k
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
7.80k
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
581
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
581
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
581
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
581
  recordClonedInstruction(
992
581
      Inst, getBuilder().createBuiltin(
993
581
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
581
                getOpType(Inst->getType()),
995
581
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
581
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
12
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
12
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
12
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
12
  recordClonedInstruction(
992
12
      Inst, getBuilder().createBuiltin(
993
12
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
12
                getOpType(Inst->getType()),
995
12
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
12
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE16visitBuiltinInstEPNS_11BuiltinInstE
_ZN5swift9SILClonerINS_13GenericClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
267k
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
267k
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
267k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
267k
  recordClonedInstruction(
992
267k
      Inst, getBuilder().createBuiltin(
993
267k
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
267k
                getOpType(Inst->getType()),
995
267k
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
267k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
1.06M
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
1.06M
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
1.06M
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
1.06M
  recordClonedInstruction(
992
1.06M
      Inst, getBuilder().createBuiltin(
993
1.06M
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
1.06M
                getOpType(Inst->getType()),
995
1.06M
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
1.06M
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE16visitBuiltinInstEPNS_11BuiltinInstE
Line
Count
Source
988
2.52k
SILCloner<ImplClass>::visitBuiltinInst(BuiltinInst *Inst) {
989
2.52k
  auto Args = getOpValueArray<8>(Inst->getArguments());
990
2.52k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
991
2.52k
  recordClonedInstruction(
992
2.52k
      Inst, getBuilder().createBuiltin(
993
2.52k
                getOpLocation(Inst->getLoc()), Inst->getName(),
994
2.52k
                getOpType(Inst->getType()),
995
2.52k
                getOpSubstitutionMap(Inst->getSubstitutions()), Args));
996
2.52k
}
997
998
template<typename ImplClass>
999
void
1000
4.58k
SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) {
1001
4.58k
  auto Args = getOpValueArray<8>(Inst->getArguments());
1002
4.58k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1003
4.58k
  recordClonedInstruction(
1004
4.58k
      Inst, getBuilder().createApply(
1005
4.58k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1006
4.58k
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1007
4.58k
                Inst->getApplyOptions(),
1008
4.58k
                GenericSpecializationInformation::create(Inst, getBuilder())));
1009
4.58k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14visitApplyInstEPNS_9ApplyInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14visitApplyInstEPNS_9ApplyInstE
Line
Count
Source
1000
3.48k
SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) {
1001
3.48k
  auto Args = getOpValueArray<8>(Inst->getArguments());
1002
3.48k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1003
3.48k
  recordClonedInstruction(
1004
3.48k
      Inst, getBuilder().createApply(
1005
3.48k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1006
3.48k
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1007
3.48k
                Inst->getApplyOptions(),
1008
3.48k
                GenericSpecializationInformation::create(Inst, getBuilder())));
1009
3.48k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE14visitApplyInstEPNS_9ApplyInstE
Line
Count
Source
1000
41
SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) {
1001
41
  auto Args = getOpValueArray<8>(Inst->getArguments());
1002
41
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1003
41
  recordClonedInstruction(
1004
41
      Inst, getBuilder().createApply(
1005
41
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1006
41
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1007
41
                Inst->getApplyOptions(),
1008
41
                GenericSpecializationInformation::create(Inst, getBuilder())));
1009
41
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14visitApplyInstEPNS_9ApplyInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14visitApplyInstEPNS_9ApplyInstE
Line
Count
Source
1000
106
SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) {
1001
106
  auto Args = getOpValueArray<8>(Inst->getArguments());
1002
106
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1003
106
  recordClonedInstruction(
1004
106
      Inst, getBuilder().createApply(
1005
106
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1006
106
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1007
106
                Inst->getApplyOptions(),
1008
106
                GenericSpecializationInformation::create(Inst, getBuilder())));
1009
106
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14visitApplyInstEPNS_9ApplyInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14visitApplyInstEPNS_9ApplyInstE
Line
Count
Source
1000
44
SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) {
1001
44
  auto Args = getOpValueArray<8>(Inst->getArguments());
1002
44
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1003
44
  recordClonedInstruction(
1004
44
      Inst, getBuilder().createApply(
1005
44
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1006
44
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1007
44
                Inst->getApplyOptions(),
1008
44
                GenericSpecializationInformation::create(Inst, getBuilder())));
1009
44
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14visitApplyInstEPNS_9ApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE14visitApplyInstEPNS_9ApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14visitApplyInstEPNS_9ApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14visitApplyInstEPNS_9ApplyInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14visitApplyInstEPNS_9ApplyInstE
Line
Count
Source
1000
139
SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) {
1001
139
  auto Args = getOpValueArray<8>(Inst->getArguments());
1002
139
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1003
139
  recordClonedInstruction(
1004
139
      Inst, getBuilder().createApply(
1005
139
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1006
139
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1007
139
                Inst->getApplyOptions(),
1008
139
                GenericSpecializationInformation::create(Inst, getBuilder())));
1009
139
}
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE14visitApplyInstEPNS_9ApplyInstE
Line
Count
Source
1000
486
SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) {
1001
486
  auto Args = getOpValueArray<8>(Inst->getArguments());
1002
486
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1003
486
  recordClonedInstruction(
1004
486
      Inst, getBuilder().createApply(
1005
486
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1006
486
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1007
486
                Inst->getApplyOptions(),
1008
486
                GenericSpecializationInformation::create(Inst, getBuilder())));
1009
486
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14visitApplyInstEPNS_9ApplyInstE
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE14visitApplyInstEPNS_9ApplyInstE
Line
Count
Source
1000
289
SILCloner<ImplClass>::visitApplyInst(ApplyInst *Inst) {
1001
289
  auto Args = getOpValueArray<8>(Inst->getArguments());
1002
289
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1003
289
  recordClonedInstruction(
1004
289
      Inst, getBuilder().createApply(
1005
289
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1006
289
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1007
289
                Inst->getApplyOptions(),
1008
289
                GenericSpecializationInformation::create(Inst, getBuilder())));
1009
289
}
1010
1011
template<typename ImplClass>
1012
void
1013
303
SILCloner<ImplClass>::visitTryApplyInst(TryApplyInst *Inst) {
1014
303
  auto Args = getOpValueArray<8>(Inst->getArguments());
1015
303
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1016
303
  recordClonedInstruction(
1017
303
      Inst, getBuilder().createTryApply(
1018
303
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1019
303
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1020
303
                getOpBasicBlock(Inst->getNormalBB()),
1021
303
                getOpBasicBlock(Inst->getErrorBB()),
1022
303
                Inst->getApplyOptions(),
1023
303
                GenericSpecializationInformation::create(Inst, getBuilder())));
1024
303
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
Line
Count
Source
1013
294
SILCloner<ImplClass>::visitTryApplyInst(TryApplyInst *Inst) {
1014
294
  auto Args = getOpValueArray<8>(Inst->getArguments());
1015
294
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1016
294
  recordClonedInstruction(
1017
294
      Inst, getBuilder().createTryApply(
1018
294
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1019
294
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1020
294
                getOpBasicBlock(Inst->getNormalBB()),
1021
294
                getOpBasicBlock(Inst->getErrorBB()),
1022
294
                Inst->getApplyOptions(),
1023
294
                GenericSpecializationInformation::create(Inst, getBuilder())));
1024
294
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitTryApplyInstEPNS_12TryApplyInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
Line
Count
Source
1013
4
SILCloner<ImplClass>::visitTryApplyInst(TryApplyInst *Inst) {
1014
4
  auto Args = getOpValueArray<8>(Inst->getArguments());
1015
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1016
4
  recordClonedInstruction(
1017
4
      Inst, getBuilder().createTryApply(
1018
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1019
4
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1020
4
                getOpBasicBlock(Inst->getNormalBB()),
1021
4
                getOpBasicBlock(Inst->getErrorBB()),
1022
4
                Inst->getApplyOptions(),
1023
4
                GenericSpecializationInformation::create(Inst, getBuilder())));
1024
4
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitTryApplyInstEPNS_12TryApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
Line
Count
Source
1013
5
SILCloner<ImplClass>::visitTryApplyInst(TryApplyInst *Inst) {
1014
5
  auto Args = getOpValueArray<8>(Inst->getArguments());
1015
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1016
5
  recordClonedInstruction(
1017
5
      Inst, getBuilder().createTryApply(
1018
5
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1019
5
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1020
5
                getOpBasicBlock(Inst->getNormalBB()),
1021
5
                getOpBasicBlock(Inst->getErrorBB()),
1022
5
                Inst->getApplyOptions(),
1023
5
                GenericSpecializationInformation::create(Inst, getBuilder())));
1024
5
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitTryApplyInstEPNS_12TryApplyInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitTryApplyInstEPNS_12TryApplyInstE
1025
1026
template<typename ImplClass>
1027
void
1028
38
SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) {
1029
38
  auto Args = getOpValueArray<8>(Inst->getArguments());
1030
38
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1031
38
  recordClonedInstruction(
1032
38
      Inst, getBuilder().createPartialApply(
1033
38
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1034
38
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1035
38
                Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(),
1036
38
                Inst->isOnStack(),
1037
38
                GenericSpecializationInformation::create(Inst, getBuilder())));
1038
38
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
Line
Count
Source
1028
5
SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) {
1029
5
  auto Args = getOpValueArray<8>(Inst->getArguments());
1030
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1031
5
  recordClonedInstruction(
1032
5
      Inst, getBuilder().createPartialApply(
1033
5
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1034
5
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1035
5
                Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(),
1036
5
                Inst->isOnStack(),
1037
5
                GenericSpecializationInformation::create(Inst, getBuilder())));
1038
5
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitPartialApplyInstEPNS_16PartialApplyInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
Line
Count
Source
1028
18
SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) {
1029
18
  auto Args = getOpValueArray<8>(Inst->getArguments());
1030
18
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1031
18
  recordClonedInstruction(
1032
18
      Inst, getBuilder().createPartialApply(
1033
18
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1034
18
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1035
18
                Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(),
1036
18
                Inst->isOnStack(),
1037
18
                GenericSpecializationInformation::create(Inst, getBuilder())));
1038
18
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
Line
Count
Source
1028
10
SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) {
1029
10
  auto Args = getOpValueArray<8>(Inst->getArguments());
1030
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1031
10
  recordClonedInstruction(
1032
10
      Inst, getBuilder().createPartialApply(
1033
10
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1034
10
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1035
10
                Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(),
1036
10
                Inst->isOnStack(),
1037
10
                GenericSpecializationInformation::create(Inst, getBuilder())));
1038
10
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
Line
Count
Source
1028
1
SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) {
1029
1
  auto Args = getOpValueArray<8>(Inst->getArguments());
1030
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1031
1
  recordClonedInstruction(
1032
1
      Inst, getBuilder().createPartialApply(
1033
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1034
1
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1035
1
                Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(),
1036
1
                Inst->isOnStack(),
1037
1
                GenericSpecializationInformation::create(Inst, getBuilder())));
1038
1
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitPartialApplyInstEPNS_16PartialApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
Line
Count
Source
1028
4
SILCloner<ImplClass>::visitPartialApplyInst(PartialApplyInst *Inst) {
1029
4
  auto Args = getOpValueArray<8>(Inst->getArguments());
1030
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1031
4
  recordClonedInstruction(
1032
4
      Inst, getBuilder().createPartialApply(
1033
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1034
4
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1035
4
                Inst->getType().getAs<SILFunctionType>()->getCalleeConvention(),
1036
4
                Inst->isOnStack(),
1037
4
                GenericSpecializationInformation::create(Inst, getBuilder())));
1038
4
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitPartialApplyInstEPNS_16PartialApplyInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitPartialApplyInstEPNS_16PartialApplyInstE
1039
1040
template<typename ImplClass>
1041
void
1042
1.70k
SILCloner<ImplClass>::visitBeginApplyInst(BeginApplyInst *Inst) {
1043
1.70k
  auto Args = getOpValueArray<8>(Inst->getArguments());
1044
1.70k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1045
1.70k
  recordClonedInstruction(
1046
1.70k
      Inst, getBuilder().createBeginApply(
1047
1.70k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1048
1.70k
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1049
1.70k
                Inst->getApplyOptions(),
1050
1.70k
                GenericSpecializationInformation::create(Inst, getBuilder())));
1051
1.70k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitBeginApplyInstEPNS_14BeginApplyInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Line
Count
Source
1042
15
SILCloner<ImplClass>::visitBeginApplyInst(BeginApplyInst *Inst) {
1043
15
  auto Args = getOpValueArray<8>(Inst->getArguments());
1044
15
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1045
15
  recordClonedInstruction(
1046
15
      Inst, getBuilder().createBeginApply(
1047
15
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1048
15
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1049
15
                Inst->getApplyOptions(),
1050
15
                GenericSpecializationInformation::create(Inst, getBuilder())));
1051
15
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Line
Count
Source
1042
4
SILCloner<ImplClass>::visitBeginApplyInst(BeginApplyInst *Inst) {
1043
4
  auto Args = getOpValueArray<8>(Inst->getArguments());
1044
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1045
4
  recordClonedInstruction(
1046
4
      Inst, getBuilder().createBeginApply(
1047
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1048
4
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1049
4
                Inst->getApplyOptions(),
1050
4
                GenericSpecializationInformation::create(Inst, getBuilder())));
1051
4
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitBeginApplyInstEPNS_14BeginApplyInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Line
Count
Source
1042
1.20k
SILCloner<ImplClass>::visitBeginApplyInst(BeginApplyInst *Inst) {
1043
1.20k
  auto Args = getOpValueArray<8>(Inst->getArguments());
1044
1.20k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1045
1.20k
  recordClonedInstruction(
1046
1.20k
      Inst, getBuilder().createBeginApply(
1047
1.20k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1048
1.20k
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1049
1.20k
                Inst->getApplyOptions(),
1050
1.20k
                GenericSpecializationInformation::create(Inst, getBuilder())));
1051
1.20k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
Line
Count
Source
1042
490
SILCloner<ImplClass>::visitBeginApplyInst(BeginApplyInst *Inst) {
1043
490
  auto Args = getOpValueArray<8>(Inst->getArguments());
1044
490
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1045
490
  recordClonedInstruction(
1046
490
      Inst, getBuilder().createBeginApply(
1047
490
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCallee()),
1048
490
                getOpSubstitutionMap(Inst->getSubstitutionMap()), Args,
1049
490
                Inst->getApplyOptions(),
1050
490
                GenericSpecializationInformation::create(Inst, getBuilder())));
1051
490
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitBeginApplyInstEPNS_14BeginApplyInstE
1052
1053
template<typename ImplClass>
1054
void
1055
598
SILCloner<ImplClass>::visitAbortApplyInst(AbortApplyInst *Inst) {
1056
598
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1057
598
  recordClonedInstruction(
1058
598
      Inst, getBuilder().createAbortApply(getOpLocation(Inst->getLoc()),
1059
598
                                          getOpValue(Inst->getOperand())));
1060
598
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitAbortApplyInstEPNS_14AbortApplyInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Line
Count
Source
1055
287
SILCloner<ImplClass>::visitAbortApplyInst(AbortApplyInst *Inst) {
1056
287
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1057
287
  recordClonedInstruction(
1058
287
      Inst, getBuilder().createAbortApply(getOpLocation(Inst->getLoc()),
1059
287
                                          getOpValue(Inst->getOperand())));
1060
287
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
Line
Count
Source
1055
311
SILCloner<ImplClass>::visitAbortApplyInst(AbortApplyInst *Inst) {
1056
311
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1057
311
  recordClonedInstruction(
1058
311
      Inst, getBuilder().createAbortApply(getOpLocation(Inst->getLoc()),
1059
311
                                          getOpValue(Inst->getOperand())));
1060
311
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitAbortApplyInstEPNS_14AbortApplyInstE
1061
1062
template<typename ImplClass>
1063
void
1064
1.73k
SILCloner<ImplClass>::visitEndApplyInst(EndApplyInst *Inst) {
1065
1.73k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1066
1.73k
  recordClonedInstruction(
1067
1.73k
      Inst, getBuilder().createEndApply(getOpLocation(Inst->getLoc()),
1068
1.73k
                                        getOpValue(Inst->getOperand())));
1069
1.73k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitEndApplyInstEPNS_12EndApplyInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitEndApplyInstEPNS_12EndApplyInstE
Line
Count
Source
1064
15
SILCloner<ImplClass>::visitEndApplyInst(EndApplyInst *Inst) {
1065
15
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1066
15
  recordClonedInstruction(
1067
15
      Inst, getBuilder().createEndApply(getOpLocation(Inst->getLoc()),
1068
15
                                        getOpValue(Inst->getOperand())));
1069
15
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Line
Count
Source
1064
4
SILCloner<ImplClass>::visitEndApplyInst(EndApplyInst *Inst) {
1065
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1066
4
  recordClonedInstruction(
1067
4
      Inst, getBuilder().createEndApply(getOpLocation(Inst->getLoc()),
1068
4
                                        getOpValue(Inst->getOperand())));
1069
4
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitEndApplyInstEPNS_12EndApplyInstE
_ZN5swift9SILClonerINS_13GenericClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Line
Count
Source
1064
1.20k
SILCloner<ImplClass>::visitEndApplyInst(EndApplyInst *Inst) {
1065
1.20k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1066
1.20k
  recordClonedInstruction(
1067
1.20k
      Inst, getBuilder().createEndApply(getOpLocation(Inst->getLoc()),
1068
1.20k
                                        getOpValue(Inst->getOperand())));
1069
1.20k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
Line
Count
Source
1064
509
SILCloner<ImplClass>::visitEndApplyInst(EndApplyInst *Inst) {
1065
509
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1066
509
  recordClonedInstruction(
1067
509
      Inst, getBuilder().createEndApply(getOpLocation(Inst->getLoc()),
1068
509
                                        getOpValue(Inst->getOperand())));
1069
509
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitEndApplyInstEPNS_12EndApplyInstE
1070
1071
template<typename ImplClass>
1072
void
1073
375k
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
375k
  SILFunction *OpFunction =
1075
375k
      getOpFunction(Inst->getReferencedFunction());
1076
375k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
375k
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
375k
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
375k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
1
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
1
  SILFunction *OpFunction =
1075
1
      getOpFunction(Inst->getReferencedFunction());
1076
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
1
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
1
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
1
}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
521
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
521
  SILFunction *OpFunction =
1075
521
      getOpFunction(Inst->getReferencedFunction());
1076
521
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
521
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
521
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
521
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
2.34k
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
2.34k
  SILFunction *OpFunction =
1075
2.34k
      getOpFunction(Inst->getReferencedFunction());
1076
2.34k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
2.34k
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
2.34k
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
2.34k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
1.77k
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
1.77k
  SILFunction *OpFunction =
1075
1.77k
      getOpFunction(Inst->getReferencedFunction());
1076
1.77k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
1.77k
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
1.77k
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
1.77k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
218
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
218
  SILFunction *OpFunction =
1075
218
      getOpFunction(Inst->getReferencedFunction());
1076
218
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
218
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
218
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
218
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
2.82k
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
2.82k
  SILFunction *OpFunction =
1075
2.82k
      getOpFunction(Inst->getReferencedFunction());
1076
2.82k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
2.82k
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
2.82k
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
2.82k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
39
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
39
  SILFunction *OpFunction =
1075
39
      getOpFunction(Inst->getReferencedFunction());
1076
39
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
39
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
39
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
39
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
36
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
36
  SILFunction *OpFunction =
1075
36
      getOpFunction(Inst->getReferencedFunction());
1076
36
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
36
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
36
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
36
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
58
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
58
  SILFunction *OpFunction =
1075
58
      getOpFunction(Inst->getReferencedFunction());
1076
58
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
58
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
58
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
58
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
3
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
3
  SILFunction *OpFunction =
1075
3
      getOpFunction(Inst->getReferencedFunction());
1076
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
3
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
3
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
3
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
92
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
92
  SILFunction *OpFunction =
1075
92
      getOpFunction(Inst->getReferencedFunction());
1076
92
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
92
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
92
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
92
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
142
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
142
  SILFunction *OpFunction =
1075
142
      getOpFunction(Inst->getReferencedFunction());
1076
142
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
142
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
142
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
142
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitFunctionRefInstEPNS_15FunctionRefInstE
_ZN5swift9SILClonerINS_13GenericClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
92.9k
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
92.9k
  SILFunction *OpFunction =
1075
92.9k
      getOpFunction(Inst->getReferencedFunction());
1076
92.9k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
92.9k
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
92.9k
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
92.9k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
274k
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
274k
  SILFunction *OpFunction =
1075
274k
      getOpFunction(Inst->getReferencedFunction());
1076
274k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
274k
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
274k
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
274k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitFunctionRefInstEPNS_15FunctionRefInstE
Line
Count
Source
1073
2
SILCloner<ImplClass>::visitFunctionRefInst(FunctionRefInst *Inst) {
1074
2
  SILFunction *OpFunction =
1075
2
      getOpFunction(Inst->getReferencedFunction());
1076
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1077
2
  recordClonedInstruction(Inst, getBuilder().createFunctionRef(
1078
2
                                    getOpLocation(Inst->getLoc()), OpFunction));
1079
2
}
1080
1081
template <typename ImplClass>
1082
void SILCloner<ImplClass>::visitDynamicFunctionRefInst(
1083
0
    DynamicFunctionRefInst *Inst) {
1084
0
  SILFunction *OpFunction =
1085
0
      getOpFunction(Inst->getInitiallyReferencedFunction());
1086
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1087
0
  recordClonedInstruction(Inst, getBuilder().createDynamicFunctionRef(
1088
0
                                    getOpLocation(Inst->getLoc()), OpFunction));
1089
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitDynamicFunctionRefInstEPNS_22DynamicFunctionRefInstE
1090
1091
template <typename ImplClass>
1092
void SILCloner<ImplClass>::visitPreviousDynamicFunctionRefInst(
1093
0
    PreviousDynamicFunctionRefInst *Inst) {
1094
0
  SILFunction *OpFunction =
1095
0
      getOpFunction(Inst->getInitiallyReferencedFunction());
1096
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1097
0
  recordClonedInstruction(Inst, getBuilder().createPreviousDynamicFunctionRef(
1098
0
                                    getOpLocation(Inst->getLoc()), OpFunction));
1099
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE35visitPreviousDynamicFunctionRefInstEPNS_30PreviousDynamicFunctionRefInstE
1100
1101
template<typename ImplClass>
1102
void
1103
0
SILCloner<ImplClass>::visitAllocGlobalInst(AllocGlobalInst *Inst) {
1104
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1105
0
  recordClonedInstruction(
1106
0
      Inst, getBuilder().createAllocGlobal(getOpLocation(Inst->getLoc()),
1107
0
                                           Inst->getReferencedGlobal()));
1108
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitAllocGlobalInstEPNS_15AllocGlobalInstE
1109
1110
template<typename ImplClass>
1111
void
1112
4.02k
SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) {
1113
4.02k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1114
4.02k
  recordClonedInstruction(
1115
4.02k
      Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()),
1116
4.02k
                                          Inst->getReferencedGlobal()));
1117
4.02k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Line
Count
Source
1112
1
SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) {
1113
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1114
1
  recordClonedInstruction(
1115
1
      Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()),
1116
1
                                          Inst->getReferencedGlobal()));
1117
1
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Line
Count
Source
1112
4
SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) {
1113
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1114
4
  recordClonedInstruction(
1115
4
      Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()),
1116
4
                                          Inst->getReferencedGlobal()));
1117
4
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Line
Count
Source
1112
1
SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) {
1113
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1114
1
  recordClonedInstruction(
1115
1
      Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()),
1116
1
                                          Inst->getReferencedGlobal()));
1117
1
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Line
Count
Source
1112
44
SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) {
1113
44
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1114
44
  recordClonedInstruction(
1115
44
      Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()),
1116
44
                                          Inst->getReferencedGlobal()));
1117
44
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Line
Count
Source
1112
1.09k
SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) {
1113
1.09k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1114
1.09k
  recordClonedInstruction(
1115
1.09k
      Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()),
1116
1.09k
                                          Inst->getReferencedGlobal()));
1117
1.09k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
Line
Count
Source
1112
2.87k
SILCloner<ImplClass>::visitGlobalAddrInst(GlobalAddrInst *Inst) {
1113
2.87k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1114
2.87k
  recordClonedInstruction(
1115
2.87k
      Inst, getBuilder().createGlobalAddr(getOpLocation(Inst->getLoc()),
1116
2.87k
                                          Inst->getReferencedGlobal()));
1117
2.87k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitGlobalAddrInstEPNS_14GlobalAddrInstE
1118
1119
template<typename ImplClass>
1120
void
1121
12
SILCloner<ImplClass>::visitGlobalValueInst(GlobalValueInst *Inst) {
1122
12
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1123
12
  recordClonedInstruction(
1124
12
      Inst, getBuilder().createGlobalValue(getOpLocation(Inst->getLoc()),
1125
12
                                           Inst->getReferencedGlobal(),
1126
12
                                           Inst->isBare()));
1127
12
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
Line
Count
Source
1121
12
SILCloner<ImplClass>::visitGlobalValueInst(GlobalValueInst *Inst) {
1122
12
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1123
12
  recordClonedInstruction(
1124
12
      Inst, getBuilder().createGlobalValue(getOpLocation(Inst->getLoc()),
1125
12
                                           Inst->getReferencedGlobal(),
1126
12
                                           Inst->isBare()));
1127
12
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitGlobalValueInstEPNS_15GlobalValueInstE
1128
1129
template<typename ImplClass>
1130
void
1131
0
SILCloner<ImplClass>::visitBaseAddrForOffsetInst(BaseAddrForOffsetInst *Inst) {
1132
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1133
0
  recordClonedInstruction(
1134
0
      Inst, getBuilder().createBaseAddrForOffset(getOpLocation(Inst->getLoc()),
1135
0
                                                  getOpType(Inst->getType())));
1136
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitBaseAddrForOffsetInstEPNS_21BaseAddrForOffsetInstE
1137
1138
template<typename ImplClass>
1139
void
1140
1.04M
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
1.04M
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
1.04M
  recordClonedInstruction(
1143
1.04M
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
1.04M
                                              getOpType(Inst->getType()),
1145
1.04M
                                              Inst->getValue()));
1146
1.04M
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
80
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
80
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
80
  recordClonedInstruction(
1143
80
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
80
                                              getOpType(Inst->getType()),
1145
80
                                              Inst->getValue()));
1146
80
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
577
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
577
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
577
  recordClonedInstruction(
1143
577
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
577
                                              getOpType(Inst->getType()),
1145
577
                                              Inst->getValue()));
1146
577
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
1.36k
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
1.36k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
1.36k
  recordClonedInstruction(
1143
1.36k
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
1.36k
                                              getOpType(Inst->getType()),
1145
1.36k
                                              Inst->getValue()));
1146
1.36k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
87
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
87
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
87
  recordClonedInstruction(
1143
87
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
87
                                              getOpType(Inst->getType()),
1145
87
                                              Inst->getValue()));
1146
87
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
7.83k
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
7.83k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
7.83k
  recordClonedInstruction(
1143
7.83k
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
7.83k
                                              getOpType(Inst->getType()),
1145
7.83k
                                              Inst->getValue()));
1146
7.83k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
9
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
9
  recordClonedInstruction(
1143
9
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
9
                                              getOpType(Inst->getType()),
1145
9
                                              Inst->getValue()));
1146
9
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
2
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
2
  recordClonedInstruction(
1143
2
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
2
                                              getOpType(Inst->getType()),
1145
2
                                              Inst->getValue()));
1146
2
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
7.81k
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
7.81k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
7.81k
  recordClonedInstruction(
1143
7.81k
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
7.81k
                                              getOpType(Inst->getType()),
1145
7.81k
                                              Inst->getValue()));
1146
7.81k
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
528
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
528
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
528
  recordClonedInstruction(
1143
528
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
528
                                              getOpType(Inst->getType()),
1145
528
                                              Inst->getValue()));
1146
528
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
65
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
65
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
65
  recordClonedInstruction(
1143
65
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
65
                                              getOpType(Inst->getType()),
1145
65
                                              Inst->getValue()));
1146
65
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
_ZN5swift9SILClonerINS_13GenericClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
247k
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
247k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
247k
  recordClonedInstruction(
1143
247k
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
247k
                                              getOpType(Inst->getType()),
1145
247k
                                              Inst->getValue()));
1146
247k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
772k
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
772k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
772k
  recordClonedInstruction(
1143
772k
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
772k
                                              getOpType(Inst->getType()),
1145
772k
                                              Inst->getValue()));
1146
772k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitIntegerLiteralInstEPNS_18IntegerLiteralInstE
Line
Count
Source
1140
2.66k
SILCloner<ImplClass>::visitIntegerLiteralInst(IntegerLiteralInst *Inst) {
1141
2.66k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1142
2.66k
  recordClonedInstruction(
1143
2.66k
      Inst, getBuilder().createIntegerLiteral(getOpLocation(Inst->getLoc()),
1144
2.66k
                                              getOpType(Inst->getType()),
1145
2.66k
                                              Inst->getValue()));
1146
2.66k
}
1147
1148
template<typename ImplClass>
1149
void
1150
277
SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) {
1151
277
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1152
277
  recordClonedInstruction(
1153
277
      Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()),
1154
277
                                            getOpType(Inst->getType()),
1155
277
                                            Inst->getValue()));
1156
277
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Line
Count
Source
1150
5
SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) {
1151
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1152
5
  recordClonedInstruction(
1153
5
      Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()),
1154
5
                                            getOpType(Inst->getType()),
1155
5
                                            Inst->getValue()));
1156
5
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Line
Count
Source
1150
17
SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) {
1151
17
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1152
17
  recordClonedInstruction(
1153
17
      Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()),
1154
17
                                            getOpType(Inst->getType()),
1155
17
                                            Inst->getValue()));
1156
17
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Line
Count
Source
1150
1
SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) {
1151
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1152
1
  recordClonedInstruction(
1153
1
      Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()),
1154
1
                                            getOpType(Inst->getType()),
1155
1
                                            Inst->getValue()));
1156
1
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Line
Count
Source
1150
26
SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) {
1151
26
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1152
26
  recordClonedInstruction(
1153
26
      Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()),
1154
26
                                            getOpType(Inst->getType()),
1155
26
                                            Inst->getValue()));
1156
26
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
_ZN5swift9SILClonerINS_13GenericClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Line
Count
Source
1150
6
SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) {
1151
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1152
6
  recordClonedInstruction(
1153
6
      Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()),
1154
6
                                            getOpType(Inst->getType()),
1155
6
                                            Inst->getValue()));
1156
6
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
Line
Count
Source
1150
222
SILCloner<ImplClass>::visitFloatLiteralInst(FloatLiteralInst *Inst) {
1151
222
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1152
222
  recordClonedInstruction(
1153
222
      Inst, getBuilder().createFloatLiteral(getOpLocation(Inst->getLoc()),
1154
222
                                            getOpType(Inst->getType()),
1155
222
                                            Inst->getValue()));
1156
222
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitFloatLiteralInstEPNS_16FloatLiteralInstE
1157
1158
template<typename ImplClass>
1159
void
1160
289k
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
289k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
289k
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
289k
                                    getOpLocation(Inst->getLoc()),
1164
289k
                                    Inst->getValue(), Inst->getEncoding()));
1165
289k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Line
Count
Source
1160
1
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
1
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
1
                                    getOpLocation(Inst->getLoc()),
1164
1
                                    Inst->getValue(), Inst->getEncoding()));
1165
1
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Line
Count
Source
1160
13
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
13
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
13
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
13
                                    getOpLocation(Inst->getLoc()),
1164
13
                                    Inst->getValue(), Inst->getEncoding()));
1165
13
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Line
Count
Source
1160
376
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
376
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
376
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
376
                                    getOpLocation(Inst->getLoc()),
1164
376
                                    Inst->getValue(), Inst->getEncoding()));
1165
376
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Line
Count
Source
1160
24
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
24
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
24
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
24
                                    getOpLocation(Inst->getLoc()),
1164
24
                                    Inst->getValue(), Inst->getEncoding()));
1165
24
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Line
Count
Source
1160
2.70k
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
2.70k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
2.70k
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
2.70k
                                    getOpLocation(Inst->getLoc()),
1164
2.70k
                                    Inst->getValue(), Inst->getEncoding()));
1165
2.70k
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Line
Count
Source
1160
1.64k
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
1.64k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
1.64k
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
1.64k
                                    getOpLocation(Inst->getLoc()),
1164
1.64k
                                    Inst->getValue(), Inst->getEncoding()));
1165
1.64k
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Line
Count
Source
1160
373
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
373
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
373
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
373
                                    getOpLocation(Inst->getLoc()),
1164
373
                                    Inst->getValue(), Inst->getEncoding()));
1165
373
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Line
Count
Source
1160
20
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
20
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
20
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
20
                                    getOpLocation(Inst->getLoc()),
1164
20
                                    Inst->getValue(), Inst->getEncoding()));
1165
20
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitStringLiteralInstEPNS_17StringLiteralInstE
_ZN5swift9SILClonerINS_13GenericClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Line
Count
Source
1160
80.7k
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
80.7k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
80.7k
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
80.7k
                                    getOpLocation(Inst->getLoc()),
1164
80.7k
                                    Inst->getValue(), Inst->getEncoding()));
1165
80.7k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
Line
Count
Source
1160
203k
SILCloner<ImplClass>::visitStringLiteralInst(StringLiteralInst *Inst) {
1161
203k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1162
203k
  recordClonedInstruction(Inst, getBuilder().createStringLiteral(
1163
203k
                                    getOpLocation(Inst->getLoc()),
1164
203k
                                    Inst->getValue(), Inst->getEncoding()));
1165
203k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitStringLiteralInstEPNS_17StringLiteralInstE
1166
1167
template <typename ImplClass>
1168
123k
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
123k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
123k
  if (!getBuilder().hasOwnership()) {
1171
62.6k
    switch (Inst->getOwnershipQualifier()) {
1172
89
    case LoadOwnershipQualifier::Copy: {
1173
89
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
89
                                         getOpValue(Inst->getOperand()),
1175
89
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
89
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
89
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
134
    case LoadOwnershipQualifier::Take:
1181
5.85k
    case LoadOwnershipQualifier::Trivial:
1182
62.5k
    case LoadOwnershipQualifier::Unqualified:
1183
62.5k
      break;
1184
62.6k
    }
1185
62.5k
    return recordClonedInstruction(
1186
62.5k
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
62.5k
                                      getOpValue(Inst->getOperand()),
1188
62.5k
                                      LoadOwnershipQualifier::Unqualified));
1189
62.6k
  }
1190
1191
61.1k
  return recordClonedInstruction(
1192
61.1k
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
61.1k
                                    getOpValue(Inst->getOperand()),
1194
61.1k
                                    Inst->getOwnershipQualifier()));
1195
123k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13visitLoadInstEPNS_8LoadInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13visitLoadInstEPNS_8LoadInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
141
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
141
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
141
  if (!getBuilder().hasOwnership()) {
1171
0
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
0
    case LoadOwnershipQualifier::Unqualified:
1183
0
      break;
1184
0
    }
1185
0
    return recordClonedInstruction(
1186
0
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
0
                                      getOpValue(Inst->getOperand()),
1188
0
                                      LoadOwnershipQualifier::Unqualified));
1189
0
  }
1190
1191
141
  return recordClonedInstruction(
1192
141
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
141
                                    getOpValue(Inst->getOperand()),
1194
141
                                    Inst->getOwnershipQualifier()));
1195
141
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
716
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
716
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
716
  if (!getBuilder().hasOwnership()) {
1171
0
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
0
    case LoadOwnershipQualifier::Unqualified:
1183
0
      break;
1184
0
    }
1185
0
    return recordClonedInstruction(
1186
0
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
0
                                      getOpValue(Inst->getOperand()),
1188
0
                                      LoadOwnershipQualifier::Unqualified));
1189
0
  }
1190
1191
716
  return recordClonedInstruction(
1192
716
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
716
                                    getOpValue(Inst->getOperand()),
1194
716
                                    Inst->getOwnershipQualifier()));
1195
716
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
482
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
482
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
482
  if (!getBuilder().hasOwnership()) {
1171
475
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
475
    case LoadOwnershipQualifier::Unqualified:
1183
475
      break;
1184
475
    }
1185
475
    return recordClonedInstruction(
1186
475
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
475
                                      getOpValue(Inst->getOperand()),
1188
475
                                      LoadOwnershipQualifier::Unqualified));
1189
475
  }
1190
1191
7
  return recordClonedInstruction(
1192
7
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
7
                                    getOpValue(Inst->getOperand()),
1194
7
                                    Inst->getOwnershipQualifier()));
1195
482
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
71
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
71
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
71
  if (!getBuilder().hasOwnership()) {
1171
71
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
71
    case LoadOwnershipQualifier::Unqualified:
1183
71
      break;
1184
71
    }
1185
71
    return recordClonedInstruction(
1186
71
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
71
                                      getOpValue(Inst->getOperand()),
1188
71
                                      LoadOwnershipQualifier::Unqualified));
1189
71
  }
1190
1191
0
  return recordClonedInstruction(
1192
0
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
0
                                    getOpValue(Inst->getOperand()),
1194
0
                                    Inst->getOwnershipQualifier()));
1195
71
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
1.78k
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
1.78k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
1.78k
  if (!getBuilder().hasOwnership()) {
1171
1.78k
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
1.78k
    case LoadOwnershipQualifier::Unqualified:
1183
1.78k
      break;
1184
1.78k
    }
1185
1.78k
    return recordClonedInstruction(
1186
1.78k
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
1.78k
                                      getOpValue(Inst->getOperand()),
1188
1.78k
                                      LoadOwnershipQualifier::Unqualified));
1189
1.78k
  }
1190
1191
0
  return recordClonedInstruction(
1192
0
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
0
                                    getOpValue(Inst->getOperand()),
1194
0
                                    Inst->getOwnershipQualifier()));
1195
1.78k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
4
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
4
  if (!getBuilder().hasOwnership()) {
1171
4
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
4
    case LoadOwnershipQualifier::Unqualified:
1183
4
      break;
1184
4
    }
1185
4
    return recordClonedInstruction(
1186
4
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
4
                                      getOpValue(Inst->getOperand()),
1188
4
                                      LoadOwnershipQualifier::Unqualified));
1189
4
  }
1190
1191
0
  return recordClonedInstruction(
1192
0
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
0
                                    getOpValue(Inst->getOperand()),
1194
0
                                    Inst->getOwnershipQualifier()));
1195
4
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13visitLoadInstEPNS_8LoadInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
20
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
20
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
20
  if (!getBuilder().hasOwnership()) {
1171
20
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
20
    case LoadOwnershipQualifier::Unqualified:
1183
20
      break;
1184
20
    }
1185
20
    return recordClonedInstruction(
1186
20
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
20
                                      getOpValue(Inst->getOperand()),
1188
20
                                      LoadOwnershipQualifier::Unqualified));
1189
20
  }
1190
1191
0
  return recordClonedInstruction(
1192
0
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
0
                                    getOpValue(Inst->getOperand()),
1194
0
                                    Inst->getOwnershipQualifier()));
1195
20
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
2.59k
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
2.59k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
2.59k
  if (!getBuilder().hasOwnership()) {
1171
2.59k
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
2.59k
    case LoadOwnershipQualifier::Unqualified:
1183
2.59k
      break;
1184
2.59k
    }
1185
2.59k
    return recordClonedInstruction(
1186
2.59k
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
2.59k
                                      getOpValue(Inst->getOperand()),
1188
2.59k
                                      LoadOwnershipQualifier::Unqualified));
1189
2.59k
  }
1190
1191
0
  return recordClonedInstruction(
1192
0
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
0
                                    getOpValue(Inst->getOperand()),
1194
0
                                    Inst->getOwnershipQualifier()));
1195
2.59k
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
12
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
12
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
12
  if (!getBuilder().hasOwnership()) {
1171
0
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
0
    case LoadOwnershipQualifier::Unqualified:
1183
0
      break;
1184
0
    }
1185
0
    return recordClonedInstruction(
1186
0
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
0
                                      getOpValue(Inst->getOperand()),
1188
0
                                      LoadOwnershipQualifier::Unqualified));
1189
0
  }
1190
1191
12
  return recordClonedInstruction(
1192
12
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
12
                                    getOpValue(Inst->getOperand()),
1194
12
                                    Inst->getOwnershipQualifier()));
1195
12
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13visitLoadInstEPNS_8LoadInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
368
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
368
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
368
  if (!getBuilder().hasOwnership()) {
1171
361
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
361
    case LoadOwnershipQualifier::Unqualified:
1183
361
      break;
1184
361
    }
1185
361
    return recordClonedInstruction(
1186
361
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
361
                                      getOpValue(Inst->getOperand()),
1188
361
                                      LoadOwnershipQualifier::Unqualified));
1189
361
  }
1190
1191
7
  return recordClonedInstruction(
1192
7
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
7
                                    getOpValue(Inst->getOperand()),
1194
7
                                    Inst->getOwnershipQualifier()));
1195
368
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE13visitLoadInstEPNS_8LoadInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13visitLoadInstEPNS_8LoadInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
30
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
30
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
30
  if (!getBuilder().hasOwnership()) {
1171
0
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
0
    case LoadOwnershipQualifier::Unqualified:
1183
0
      break;
1184
0
    }
1185
0
    return recordClonedInstruction(
1186
0
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
0
                                      getOpValue(Inst->getOperand()),
1188
0
                                      LoadOwnershipQualifier::Unqualified));
1189
0
  }
1190
1191
30
  return recordClonedInstruction(
1192
30
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
30
                                    getOpValue(Inst->getOperand()),
1194
30
                                    Inst->getOwnershipQualifier()));
1195
30
}
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
1
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
1
  if (!getBuilder().hasOwnership()) {
1171
1
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
1
    case LoadOwnershipQualifier::Unqualified:
1183
1
      break;
1184
1
    }
1185
1
    return recordClonedInstruction(
1186
1
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
1
                                      getOpValue(Inst->getOperand()),
1188
1
                                      LoadOwnershipQualifier::Unqualified));
1189
1
  }
1190
1191
0
  return recordClonedInstruction(
1192
0
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
0
                                    getOpValue(Inst->getOperand()),
1194
0
                                    Inst->getOwnershipQualifier()));
1195
1
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13visitLoadInstEPNS_8LoadInstE
_ZN5swift9SILClonerINS_13GenericClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
24.2k
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
24.2k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
24.2k
  if (!getBuilder().hasOwnership()) {
1171
10.1k
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
10.1k
    case LoadOwnershipQualifier::Unqualified:
1183
10.1k
      break;
1184
10.1k
    }
1185
10.1k
    return recordClonedInstruction(
1186
10.1k
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
10.1k
                                      getOpValue(Inst->getOperand()),
1188
10.1k
                                      LoadOwnershipQualifier::Unqualified));
1189
10.1k
  }
1190
1191
14.1k
  return recordClonedInstruction(
1192
14.1k
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
14.1k
                                    getOpValue(Inst->getOperand()),
1194
14.1k
                                    Inst->getOwnershipQualifier()));
1195
24.2k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
92.8k
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
92.8k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
92.8k
  if (!getBuilder().hasOwnership()) {
1171
46.9k
    switch (Inst->getOwnershipQualifier()) {
1172
89
    case LoadOwnershipQualifier::Copy: {
1173
89
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
89
                                         getOpValue(Inst->getOperand()),
1175
89
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
89
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
89
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
134
    case LoadOwnershipQualifier::Take:
1181
5.85k
    case LoadOwnershipQualifier::Trivial:
1182
46.8k
    case LoadOwnershipQualifier::Unqualified:
1183
46.8k
      break;
1184
46.9k
    }
1185
46.8k
    return recordClonedInstruction(
1186
46.8k
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
46.8k
                                      getOpValue(Inst->getOperand()),
1188
46.8k
                                      LoadOwnershipQualifier::Unqualified));
1189
46.9k
  }
1190
1191
45.8k
  return recordClonedInstruction(
1192
45.8k
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
45.8k
                                    getOpValue(Inst->getOperand()),
1194
45.8k
                                    Inst->getOwnershipQualifier()));
1195
92.8k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13visitLoadInstEPNS_8LoadInstE
Line
Count
Source
1168
408
void SILCloner<ImplClass>::visitLoadInst(LoadInst *Inst) {
1169
408
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1170
408
  if (!getBuilder().hasOwnership()) {
1171
206
    switch (Inst->getOwnershipQualifier()) {
1172
0
    case LoadOwnershipQualifier::Copy: {
1173
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1174
0
                                         getOpValue(Inst->getOperand()),
1175
0
                                         LoadOwnershipQualifier::Unqualified);
1176
      // This will emit a retain_value/strong_retain as appropriate.
1177
0
      getBuilder().emitCopyValueOperation(getOpLocation(Inst->getLoc()), li);
1178
0
      return recordClonedInstruction(Inst, li);
1179
0
    }
1180
0
    case LoadOwnershipQualifier::Take:
1181
0
    case LoadOwnershipQualifier::Trivial:
1182
206
    case LoadOwnershipQualifier::Unqualified:
1183
206
      break;
1184
206
    }
1185
206
    return recordClonedInstruction(
1186
206
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1187
206
                                      getOpValue(Inst->getOperand()),
1188
206
                                      LoadOwnershipQualifier::Unqualified));
1189
206
  }
1190
1191
202
  return recordClonedInstruction(
1192
202
      Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1193
202
                                    getOpValue(Inst->getOperand()),
1194
202
                                    Inst->getOwnershipQualifier()));
1195
408
}
1196
1197
template <typename ImplClass>
1198
11.7k
void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) {
1199
11.7k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1200
  // If we are not inlining into an ownership function, just use a load.
1201
11.7k
  if (!getBuilder().hasOwnership()) {
1202
761
    return recordClonedInstruction(
1203
761
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1204
761
                                      getOpValue(Inst->getOperand()),
1205
761
                                      LoadOwnershipQualifier::Unqualified));
1206
761
  }
1207
1208
11.0k
  recordClonedInstruction(
1209
11.0k
      Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()),
1210
11.0k
                                          getOpValue(Inst->getOperand())));
1211
11.0k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Line
Count
Source
1198
19
void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) {
1199
19
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1200
  // If we are not inlining into an ownership function, just use a load.
1201
19
  if (!getBuilder().hasOwnership()) {
1202
0
    return recordClonedInstruction(
1203
0
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1204
0
                                      getOpValue(Inst->getOperand()),
1205
0
                                      LoadOwnershipQualifier::Unqualified));
1206
0
  }
1207
1208
19
  recordClonedInstruction(
1209
19
      Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()),
1210
19
                                          getOpValue(Inst->getOperand())));
1211
19
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Line
Count
Source
1198
5
void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) {
1199
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1200
  // If we are not inlining into an ownership function, just use a load.
1201
5
  if (!getBuilder().hasOwnership()) {
1202
0
    return recordClonedInstruction(
1203
0
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1204
0
                                      getOpValue(Inst->getOperand()),
1205
0
                                      LoadOwnershipQualifier::Unqualified));
1206
0
  }
1207
1208
5
  recordClonedInstruction(
1209
5
      Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()),
1210
5
                                          getOpValue(Inst->getOperand())));
1211
5
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Line
Count
Source
1198
2
void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) {
1199
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1200
  // If we are not inlining into an ownership function, just use a load.
1201
2
  if (!getBuilder().hasOwnership()) {
1202
0
    return recordClonedInstruction(
1203
0
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1204
0
                                      getOpValue(Inst->getOperand()),
1205
0
                                      LoadOwnershipQualifier::Unqualified));
1206
0
  }
1207
1208
2
  recordClonedInstruction(
1209
2
      Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()),
1210
2
                                          getOpValue(Inst->getOperand())));
1211
2
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Line
Count
Source
1198
30
void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) {
1199
30
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1200
  // If we are not inlining into an ownership function, just use a load.
1201
30
  if (!getBuilder().hasOwnership()) {
1202
0
    return recordClonedInstruction(
1203
0
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1204
0
                                      getOpValue(Inst->getOperand()),
1205
0
                                      LoadOwnershipQualifier::Unqualified));
1206
0
  }
1207
1208
30
  recordClonedInstruction(
1209
30
      Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()),
1210
30
                                          getOpValue(Inst->getOperand())));
1211
30
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Line
Count
Source
1198
4.67k
void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) {
1199
4.67k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1200
  // If we are not inlining into an ownership function, just use a load.
1201
4.67k
  if (!getBuilder().hasOwnership()) {
1202
0
    return recordClonedInstruction(
1203
0
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1204
0
                                      getOpValue(Inst->getOperand()),
1205
0
                                      LoadOwnershipQualifier::Unqualified));
1206
0
  }
1207
1208
4.67k
  recordClonedInstruction(
1209
4.67k
      Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()),
1210
4.67k
                                          getOpValue(Inst->getOperand())));
1211
4.67k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Line
Count
Source
1198
7.03k
void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) {
1199
7.03k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1200
  // If we are not inlining into an ownership function, just use a load.
1201
7.03k
  if (!getBuilder().hasOwnership()) {
1202
761
    return recordClonedInstruction(
1203
761
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1204
761
                                      getOpValue(Inst->getOperand()),
1205
761
                                      LoadOwnershipQualifier::Unqualified));
1206
761
  }
1207
1208
6.26k
  recordClonedInstruction(
1209
6.26k
      Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()),
1210
6.26k
                                          getOpValue(Inst->getOperand())));
1211
6.26k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitLoadBorrowInstEPNS_14LoadBorrowInstE
Line
Count
Source
1198
14
void SILCloner<ImplClass>::visitLoadBorrowInst(LoadBorrowInst *Inst) {
1199
14
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1200
  // If we are not inlining into an ownership function, just use a load.
1201
14
  if (!getBuilder().hasOwnership()) {
1202
0
    return recordClonedInstruction(
1203
0
        Inst, getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1204
0
                                      getOpValue(Inst->getOperand()),
1205
0
                                      LoadOwnershipQualifier::Unqualified));
1206
0
  }
1207
1208
14
  recordClonedInstruction(
1209
14
      Inst, getBuilder().createLoadBorrow(getOpLocation(Inst->getLoc()),
1210
14
                                          getOpValue(Inst->getOperand())));
1211
14
}
1212
1213
template <typename ImplClass>
1214
10.7k
void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) {
1215
10.7k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1216
10.7k
  if (!getBuilder().hasOwnership()) {
1217
123
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1218
123
  }
1219
1220
10.6k
  recordClonedInstruction(
1221
10.6k
      Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()),
1222
10.6k
                                           getOpValue(Inst->getOperand()),
1223
10.6k
                                           Inst->isLexical()));
1224
10.6k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Line
Count
Source
1214
7
void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) {
1215
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1216
7
  if (!getBuilder().hasOwnership()) {
1217
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1218
0
  }
1219
1220
7
  recordClonedInstruction(
1221
7
      Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()),
1222
7
                                           getOpValue(Inst->getOperand()),
1223
7
                                           Inst->isLexical()));
1224
7
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Line
Count
Source
1214
56
void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) {
1215
56
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1216
56
  if (!getBuilder().hasOwnership()) {
1217
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1218
0
  }
1219
1220
56
  recordClonedInstruction(
1221
56
      Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()),
1222
56
                                           getOpValue(Inst->getOperand()),
1223
56
                                           Inst->isLexical()));
1224
56
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Line
Count
Source
1214
3
void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) {
1215
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1216
3
  if (!getBuilder().hasOwnership()) {
1217
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1218
0
  }
1219
1220
3
  recordClonedInstruction(
1221
3
      Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()),
1222
3
                                           getOpValue(Inst->getOperand()),
1223
3
                                           Inst->isLexical()));
1224
3
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Line
Count
Source
1214
1
void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) {
1215
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1216
1
  if (!getBuilder().hasOwnership()) {
1217
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1218
0
  }
1219
1220
1
  recordClonedInstruction(
1221
1
      Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()),
1222
1
                                           getOpValue(Inst->getOperand()),
1223
1
                                           Inst->isLexical()));
1224
1
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Line
Count
Source
1214
8
void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) {
1215
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1216
8
  if (!getBuilder().hasOwnership()) {
1217
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1218
0
  }
1219
1220
8
  recordClonedInstruction(
1221
8
      Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()),
1222
8
                                           getOpValue(Inst->getOperand()),
1223
8
                                           Inst->isLexical()));
1224
8
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Line
Count
Source
1214
79
void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) {
1215
79
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1216
79
  if (!getBuilder().hasOwnership()) {
1217
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1218
0
  }
1219
1220
79
  recordClonedInstruction(
1221
79
      Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()),
1222
79
                                           getOpValue(Inst->getOperand()),
1223
79
                                           Inst->isLexical()));
1224
79
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
_ZN5swift9SILClonerINS_13GenericClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Line
Count
Source
1214
8.30k
void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) {
1215
8.30k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1216
8.30k
  if (!getBuilder().hasOwnership()) {
1217
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1218
0
  }
1219
1220
8.30k
  recordClonedInstruction(
1221
8.30k
      Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()),
1222
8.30k
                                           getOpValue(Inst->getOperand()),
1223
8.30k
                                           Inst->isLexical()));
1224
8.30k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Line
Count
Source
1214
2.25k
void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) {
1215
2.25k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1216
2.25k
  if (!getBuilder().hasOwnership()) {
1217
123
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1218
123
  }
1219
1220
2.12k
  recordClonedInstruction(
1221
2.12k
      Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()),
1222
2.12k
                                           getOpValue(Inst->getOperand()),
1223
2.12k
                                           Inst->isLexical()));
1224
2.12k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitBeginBorrowInstEPNS_15BeginBorrowInstE
Line
Count
Source
1214
70
void SILCloner<ImplClass>::visitBeginBorrowInst(BeginBorrowInst *Inst) {
1215
70
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1216
70
  if (!getBuilder().hasOwnership()) {
1217
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1218
0
  }
1219
1220
70
  recordClonedInstruction(
1221
70
      Inst, getBuilder().createBeginBorrow(getOpLocation(Inst->getLoc()),
1222
70
                                           getOpValue(Inst->getOperand()),
1223
70
                                           Inst->isLexical()));
1224
70
}
1225
1226
template <typename ImplClass>
1227
81.2k
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
81.2k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
81.2k
  if (!getBuilder().hasOwnership()) {
1230
38.8k
    switch (Inst->getOwnershipQualifier()) {
1231
9
    case StoreOwnershipQualifier::Assign: {
1232
9
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
9
                                         getOpValue(Inst->getDest()),
1234
9
                                         LoadOwnershipQualifier::Unqualified);
1235
9
      auto *si = getBuilder().createStore(
1236
9
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
9
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
9
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
9
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
254
    case StoreOwnershipQualifier::Init:
1242
2.78k
    case StoreOwnershipQualifier::Trivial:
1243
38.8k
    case StoreOwnershipQualifier::Unqualified:
1244
38.8k
      break;
1245
38.8k
    }
1246
1247
38.8k
    return recordClonedInstruction(
1248
38.8k
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
38.8k
                                       getOpValue(Inst->getSrc()),
1250
38.8k
                                       getOpValue(Inst->getDest()),
1251
38.8k
                                       StoreOwnershipQualifier::Unqualified));
1252
38.8k
  }
1253
1254
42.3k
  recordClonedInstruction(
1255
42.3k
      Inst, getBuilder().createStore(
1256
42.3k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
42.3k
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
42.3k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14visitStoreInstEPNS_9StoreInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE14visitStoreInstEPNS_9StoreInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
221
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
221
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
221
  if (!getBuilder().hasOwnership()) {
1230
0
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
0
    case StoreOwnershipQualifier::Unqualified:
1244
0
      break;
1245
0
    }
1246
1247
0
    return recordClonedInstruction(
1248
0
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
0
                                       getOpValue(Inst->getSrc()),
1250
0
                                       getOpValue(Inst->getDest()),
1251
0
                                       StoreOwnershipQualifier::Unqualified));
1252
0
  }
1253
1254
221
  recordClonedInstruction(
1255
221
      Inst, getBuilder().createStore(
1256
221
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
221
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
221
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
1.02k
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
1.02k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
1.02k
  if (!getBuilder().hasOwnership()) {
1230
0
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
0
    case StoreOwnershipQualifier::Unqualified:
1244
0
      break;
1245
0
    }
1246
1247
0
    return recordClonedInstruction(
1248
0
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
0
                                       getOpValue(Inst->getSrc()),
1250
0
                                       getOpValue(Inst->getDest()),
1251
0
                                       StoreOwnershipQualifier::Unqualified));
1252
0
  }
1253
1254
1.02k
  recordClonedInstruction(
1255
1.02k
      Inst, getBuilder().createStore(
1256
1.02k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
1.02k
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
1.02k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
896
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
896
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
896
  if (!getBuilder().hasOwnership()) {
1230
894
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
894
    case StoreOwnershipQualifier::Unqualified:
1244
894
      break;
1245
894
    }
1246
1247
894
    return recordClonedInstruction(
1248
894
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
894
                                       getOpValue(Inst->getSrc()),
1250
894
                                       getOpValue(Inst->getDest()),
1251
894
                                       StoreOwnershipQualifier::Unqualified));
1252
894
  }
1253
1254
2
  recordClonedInstruction(
1255
2
      Inst, getBuilder().createStore(
1256
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
2
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
2
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
27
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
27
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
27
  if (!getBuilder().hasOwnership()) {
1230
27
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
27
    case StoreOwnershipQualifier::Unqualified:
1244
27
      break;
1245
27
    }
1246
1247
27
    return recordClonedInstruction(
1248
27
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
27
                                       getOpValue(Inst->getSrc()),
1250
27
                                       getOpValue(Inst->getDest()),
1251
27
                                       StoreOwnershipQualifier::Unqualified));
1252
27
  }
1253
1254
0
  recordClonedInstruction(
1255
0
      Inst, getBuilder().createStore(
1256
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
0
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
0
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
1.03k
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
1.03k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
1.03k
  if (!getBuilder().hasOwnership()) {
1230
1.03k
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
1.03k
    case StoreOwnershipQualifier::Unqualified:
1244
1.03k
      break;
1245
1.03k
    }
1246
1247
1.03k
    return recordClonedInstruction(
1248
1.03k
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
1.03k
                                       getOpValue(Inst->getSrc()),
1250
1.03k
                                       getOpValue(Inst->getDest()),
1251
1.03k
                                       StoreOwnershipQualifier::Unqualified));
1252
1.03k
  }
1253
1254
0
  recordClonedInstruction(
1255
0
      Inst, getBuilder().createStore(
1256
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
0
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
0
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
23
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
23
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
23
  if (!getBuilder().hasOwnership()) {
1230
23
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
23
    case StoreOwnershipQualifier::Unqualified:
1244
23
      break;
1245
23
    }
1246
1247
23
    return recordClonedInstruction(
1248
23
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
23
                                       getOpValue(Inst->getSrc()),
1250
23
                                       getOpValue(Inst->getDest()),
1251
23
                                       StoreOwnershipQualifier::Unqualified));
1252
23
  }
1253
1254
0
  recordClonedInstruction(
1255
0
      Inst, getBuilder().createStore(
1256
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
0
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
0
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14visitStoreInstEPNS_9StoreInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
42
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
42
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
42
  if (!getBuilder().hasOwnership()) {
1230
42
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
42
    case StoreOwnershipQualifier::Unqualified:
1244
42
      break;
1245
42
    }
1246
1247
42
    return recordClonedInstruction(
1248
42
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
42
                                       getOpValue(Inst->getSrc()),
1250
42
                                       getOpValue(Inst->getDest()),
1251
42
                                       StoreOwnershipQualifier::Unqualified));
1252
42
  }
1253
1254
0
  recordClonedInstruction(
1255
0
      Inst, getBuilder().createStore(
1256
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
0
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
0
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
36
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
36
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
36
  if (!getBuilder().hasOwnership()) {
1230
36
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
36
    case StoreOwnershipQualifier::Unqualified:
1244
36
      break;
1245
36
    }
1246
1247
36
    return recordClonedInstruction(
1248
36
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
36
                                       getOpValue(Inst->getSrc()),
1250
36
                                       getOpValue(Inst->getDest()),
1251
36
                                       StoreOwnershipQualifier::Unqualified));
1252
36
  }
1253
1254
0
  recordClonedInstruction(
1255
0
      Inst, getBuilder().createStore(
1256
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
0
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
0
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
26
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
26
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
26
  if (!getBuilder().hasOwnership()) {
1230
0
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
0
    case StoreOwnershipQualifier::Unqualified:
1244
0
      break;
1245
0
    }
1246
1247
0
    return recordClonedInstruction(
1248
0
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
0
                                       getOpValue(Inst->getSrc()),
1250
0
                                       getOpValue(Inst->getDest()),
1251
0
                                       StoreOwnershipQualifier::Unqualified));
1252
0
  }
1253
1254
26
  recordClonedInstruction(
1255
26
      Inst, getBuilder().createStore(
1256
26
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
26
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
26
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14visitStoreInstEPNS_9StoreInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
1.01k
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
1.01k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
1.01k
  if (!getBuilder().hasOwnership()) {
1230
340
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
340
    case StoreOwnershipQualifier::Unqualified:
1244
340
      break;
1245
340
    }
1246
1247
340
    return recordClonedInstruction(
1248
340
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
340
                                       getOpValue(Inst->getSrc()),
1250
340
                                       getOpValue(Inst->getDest()),
1251
340
                                       StoreOwnershipQualifier::Unqualified));
1252
340
  }
1253
1254
673
  recordClonedInstruction(
1255
673
      Inst, getBuilder().createStore(
1256
673
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
673
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
673
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14visitStoreInstEPNS_9StoreInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14visitStoreInstEPNS_9StoreInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
36
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
36
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
36
  if (!getBuilder().hasOwnership()) {
1230
0
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
0
    case StoreOwnershipQualifier::Unqualified:
1244
0
      break;
1245
0
    }
1246
1247
0
    return recordClonedInstruction(
1248
0
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
0
                                       getOpValue(Inst->getSrc()),
1250
0
                                       getOpValue(Inst->getDest()),
1251
0
                                       StoreOwnershipQualifier::Unqualified));
1252
0
  }
1253
1254
36
  recordClonedInstruction(
1255
36
      Inst, getBuilder().createStore(
1256
36
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
36
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
36
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE14visitStoreInstEPNS_9StoreInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14visitStoreInstEPNS_9StoreInstE
_ZN5swift9SILClonerINS_13GenericClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
19.5k
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
19.5k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
19.5k
  if (!getBuilder().hasOwnership()) {
1230
10.2k
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
10.2k
    case StoreOwnershipQualifier::Unqualified:
1244
10.2k
      break;
1245
10.2k
    }
1246
1247
10.2k
    return recordClonedInstruction(
1248
10.2k
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
10.2k
                                       getOpValue(Inst->getSrc()),
1250
10.2k
                                       getOpValue(Inst->getDest()),
1251
10.2k
                                       StoreOwnershipQualifier::Unqualified));
1252
10.2k
  }
1253
1254
9.32k
  recordClonedInstruction(
1255
9.32k
      Inst, getBuilder().createStore(
1256
9.32k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
9.32k
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
9.32k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
57.2k
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
57.2k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
57.2k
  if (!getBuilder().hasOwnership()) {
1230
26.1k
    switch (Inst->getOwnershipQualifier()) {
1231
9
    case StoreOwnershipQualifier::Assign: {
1232
9
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
9
                                         getOpValue(Inst->getDest()),
1234
9
                                         LoadOwnershipQualifier::Unqualified);
1235
9
      auto *si = getBuilder().createStore(
1236
9
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
9
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
9
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
9
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
254
    case StoreOwnershipQualifier::Init:
1242
2.78k
    case StoreOwnershipQualifier::Trivial:
1243
26.1k
    case StoreOwnershipQualifier::Unqualified:
1244
26.1k
      break;
1245
26.1k
    }
1246
1247
26.1k
    return recordClonedInstruction(
1248
26.1k
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
26.1k
                                       getOpValue(Inst->getSrc()),
1250
26.1k
                                       getOpValue(Inst->getDest()),
1251
26.1k
                                       StoreOwnershipQualifier::Unqualified));
1252
26.1k
  }
1253
1254
31.0k
  recordClonedInstruction(
1255
31.0k
      Inst, getBuilder().createStore(
1256
31.0k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
31.0k
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
31.0k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE14visitStoreInstEPNS_9StoreInstE
Line
Count
Source
1227
9
void SILCloner<ImplClass>::visitStoreInst(StoreInst *Inst) {
1228
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1229
9
  if (!getBuilder().hasOwnership()) {
1230
8
    switch (Inst->getOwnershipQualifier()) {
1231
0
    case StoreOwnershipQualifier::Assign: {
1232
0
      auto *li = getBuilder().createLoad(getOpLocation(Inst->getLoc()),
1233
0
                                         getOpValue(Inst->getDest()),
1234
0
                                         LoadOwnershipQualifier::Unqualified);
1235
0
      auto *si = getBuilder().createStore(
1236
0
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1237
0
          getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1238
0
      getBuilder().emitDestroyValueOperation(getOpLocation(Inst->getLoc()), li);
1239
0
      return recordClonedInstruction(Inst, si);
1240
0
    }
1241
0
    case StoreOwnershipQualifier::Init:
1242
0
    case StoreOwnershipQualifier::Trivial:
1243
8
    case StoreOwnershipQualifier::Unqualified:
1244
8
      break;
1245
8
    }
1246
1247
8
    return recordClonedInstruction(
1248
8
        Inst, getBuilder().createStore(getOpLocation(Inst->getLoc()),
1249
8
                                       getOpValue(Inst->getSrc()),
1250
8
                                       getOpValue(Inst->getDest()),
1251
8
                                       StoreOwnershipQualifier::Unqualified));
1252
8
  }
1253
1254
1
  recordClonedInstruction(
1255
1
      Inst, getBuilder().createStore(
1256
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1257
1
                getOpValue(Inst->getDest()), Inst->getOwnershipQualifier()));
1258
1
}
1259
1260
template <typename ImplClass>
1261
1.73k
void SILCloner<ImplClass>::visitStoreBorrowInst(StoreBorrowInst *Inst) {
1262
1.73k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1263
1.73k
  if (!getBuilder().hasOwnership()) {
1264
7
    getBuilder().createStore(
1265
7
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1266
7
        getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1267
7
    mapValue(Inst, getOpValue(Inst->getDest()));
1268
7
    return;
1269
7
  }
1270
1271
1.73k
  recordClonedInstruction(
1272
1.73k
      Inst, getBuilder().createStoreBorrow(getOpLocation(Inst->getLoc()),
1273
1.73k
                                           getOpValue(Inst->getSrc()),
1274
1.73k
                                           getOpValue(Inst->getDest())));
1275
1.73k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Line
Count
Source
1261
6
void SILCloner<ImplClass>::visitStoreBorrowInst(StoreBorrowInst *Inst) {
1262
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1263
6
  if (!getBuilder().hasOwnership()) {
1264
0
    getBuilder().createStore(
1265
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1266
0
        getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1267
0
    mapValue(Inst, getOpValue(Inst->getDest()));
1268
0
    return;
1269
0
  }
1270
1271
6
  recordClonedInstruction(
1272
6
      Inst, getBuilder().createStoreBorrow(getOpLocation(Inst->getLoc()),
1273
6
                                           getOpValue(Inst->getSrc()),
1274
6
                                           getOpValue(Inst->getDest())));
1275
6
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Line
Count
Source
1261
10
void SILCloner<ImplClass>::visitStoreBorrowInst(StoreBorrowInst *Inst) {
1262
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1263
10
  if (!getBuilder().hasOwnership()) {
1264
0
    getBuilder().createStore(
1265
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1266
0
        getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1267
0
    mapValue(Inst, getOpValue(Inst->getDest()));
1268
0
    return;
1269
0
  }
1270
1271
10
  recordClonedInstruction(
1272
10
      Inst, getBuilder().createStoreBorrow(getOpLocation(Inst->getLoc()),
1273
10
                                           getOpValue(Inst->getSrc()),
1274
10
                                           getOpValue(Inst->getDest())));
1275
10
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
_ZN5swift9SILClonerINS_13GenericClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Line
Count
Source
1261
777
void SILCloner<ImplClass>::visitStoreBorrowInst(StoreBorrowInst *Inst) {
1262
777
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1263
777
  if (!getBuilder().hasOwnership()) {
1264
0
    getBuilder().createStore(
1265
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1266
0
        getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1267
0
    mapValue(Inst, getOpValue(Inst->getDest()));
1268
0
    return;
1269
0
  }
1270
1271
777
  recordClonedInstruction(
1272
777
      Inst, getBuilder().createStoreBorrow(getOpLocation(Inst->getLoc()),
1273
777
                                           getOpValue(Inst->getSrc()),
1274
777
                                           getOpValue(Inst->getDest())));
1275
777
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
Line
Count
Source
1261
946
void SILCloner<ImplClass>::visitStoreBorrowInst(StoreBorrowInst *Inst) {
1262
946
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1263
946
  if (!getBuilder().hasOwnership()) {
1264
7
    getBuilder().createStore(
1265
7
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1266
7
        getOpValue(Inst->getDest()), StoreOwnershipQualifier::Unqualified);
1267
7
    mapValue(Inst, getOpValue(Inst->getDest()));
1268
7
    return;
1269
7
  }
1270
1271
939
  recordClonedInstruction(
1272
939
      Inst, getBuilder().createStoreBorrow(getOpLocation(Inst->getLoc()),
1273
939
                                           getOpValue(Inst->getSrc()),
1274
939
                                           getOpValue(Inst->getDest())));
1275
939
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitStoreBorrowInstEPNS_15StoreBorrowInstE
1276
1277
template <typename ImplClass>
1278
26.4k
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
26.4k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
26.4k
  if (!getBuilder().hasOwnership())
1283
924
    return;
1284
1285
25.4k
  recordClonedInstruction(
1286
25.4k
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
25.4k
                                         getOpValue(Inst->getOperand())));
1288
25.4k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Line
Count
Source
1278
7
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
7
  if (!getBuilder().hasOwnership())
1283
0
    return;
1284
1285
7
  recordClonedInstruction(
1286
7
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
7
                                         getOpValue(Inst->getOperand())));
1288
7
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Line
Count
Source
1278
84
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
84
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
84
  if (!getBuilder().hasOwnership())
1283
0
    return;
1284
1285
84
  recordClonedInstruction(
1286
84
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
84
                                         getOpValue(Inst->getOperand())));
1288
84
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Line
Count
Source
1278
8
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
8
  if (!getBuilder().hasOwnership())
1283
0
    return;
1284
1285
8
  recordClonedInstruction(
1286
8
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
8
                                         getOpValue(Inst->getOperand())));
1288
8
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Line
Count
Source
1278
1
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
1
  if (!getBuilder().hasOwnership())
1283
0
    return;
1284
1285
1
  recordClonedInstruction(
1286
1
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
1
                                         getOpValue(Inst->getOperand())));
1288
1
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Line
Count
Source
1278
10
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
10
  if (!getBuilder().hasOwnership())
1283
0
    return;
1284
1285
10
  recordClonedInstruction(
1286
10
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
10
                                         getOpValue(Inst->getOperand())));
1288
10
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Line
Count
Source
1278
270
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
270
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
270
  if (!getBuilder().hasOwnership())
1283
0
    return;
1284
1285
270
  recordClonedInstruction(
1286
270
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
270
                                         getOpValue(Inst->getOperand())));
1288
270
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Line
Count
Source
1278
10
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
10
  if (!getBuilder().hasOwnership())
1283
0
    return;
1284
1285
10
  recordClonedInstruction(
1286
10
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
10
                                         getOpValue(Inst->getOperand())));
1288
10
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitEndBorrowInstEPNS_13EndBorrowInstE
_ZN5swift9SILClonerINS_13GenericClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Line
Count
Source
1278
15.1k
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
15.1k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
15.1k
  if (!getBuilder().hasOwnership())
1283
0
    return;
1284
1285
15.1k
  recordClonedInstruction(
1286
15.1k
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
15.1k
                                         getOpValue(Inst->getOperand())));
1288
15.1k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Line
Count
Source
1278
10.8k
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
10.8k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
10.8k
  if (!getBuilder().hasOwnership())
1283
924
    return;
1284
1285
9.91k
  recordClonedInstruction(
1286
9.91k
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
9.91k
                                         getOpValue(Inst->getOperand())));
1288
9.91k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitEndBorrowInstEPNS_13EndBorrowInstE
Line
Count
Source
1278
76
void SILCloner<ImplClass>::visitEndBorrowInst(EndBorrowInst *Inst) {
1279
76
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1280
1281
  // Do not clone any end_borrow.
1282
76
  if (!getBuilder().hasOwnership())
1283
0
    return;
1284
1285
76
  recordClonedInstruction(
1286
76
      Inst, getBuilder().createEndBorrow(getOpLocation(Inst->getLoc()),
1287
76
                                         getOpValue(Inst->getOperand())));
1288
76
}
1289
1290
template <typename ImplClass>
1291
2.89k
void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) {
1292
2.89k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1293
2.89k
  recordClonedInstruction(
1294
2.89k
      Inst, getBuilder().createBeginAccess(
1295
2.89k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1296
2.89k
                Inst->getAccessKind(), Inst->getEnforcement(),
1297
2.89k
                Inst->hasNoNestedConflict(), Inst->isFromBuiltin()));
1298
2.89k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Line
Count
Source
1291
151
void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) {
1292
151
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1293
151
  recordClonedInstruction(
1294
151
      Inst, getBuilder().createBeginAccess(
1295
151
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1296
151
                Inst->getAccessKind(), Inst->getEnforcement(),
1297
151
                Inst->hasNoNestedConflict(), Inst->isFromBuiltin()));
1298
151
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Line
Count
Source
1291
876
void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) {
1292
876
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1293
876
  recordClonedInstruction(
1294
876
      Inst, getBuilder().createBeginAccess(
1295
876
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1296
876
                Inst->getAccessKind(), Inst->getEnforcement(),
1297
876
                Inst->hasNoNestedConflict(), Inst->isFromBuiltin()));
1298
876
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Line
Count
Source
1291
22
void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) {
1292
22
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1293
22
  recordClonedInstruction(
1294
22
      Inst, getBuilder().createBeginAccess(
1295
22
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1296
22
                Inst->getAccessKind(), Inst->getEnforcement(),
1297
22
                Inst->hasNoNestedConflict(), Inst->isFromBuiltin()));
1298
22
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Line
Count
Source
1291
32
void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) {
1292
32
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1293
32
  recordClonedInstruction(
1294
32
      Inst, getBuilder().createBeginAccess(
1295
32
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1296
32
                Inst->getAccessKind(), Inst->getEnforcement(),
1297
32
                Inst->hasNoNestedConflict(), Inst->isFromBuiltin()));
1298
32
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Line
Count
Source
1291
1
void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) {
1292
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1293
1
  recordClonedInstruction(
1294
1
      Inst, getBuilder().createBeginAccess(
1295
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1296
1
                Inst->getAccessKind(), Inst->getEnforcement(),
1297
1
                Inst->hasNoNestedConflict(), Inst->isFromBuiltin()));
1298
1
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Line
Count
Source
1291
22
void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) {
1292
22
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1293
22
  recordClonedInstruction(
1294
22
      Inst, getBuilder().createBeginAccess(
1295
22
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1296
22
                Inst->getAccessKind(), Inst->getEnforcement(),
1297
22
                Inst->hasNoNestedConflict(), Inst->isFromBuiltin()));
1298
22
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Line
Count
Source
1291
44
void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) {
1292
44
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1293
44
  recordClonedInstruction(
1294
44
      Inst, getBuilder().createBeginAccess(
1295
44
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1296
44
                Inst->getAccessKind(), Inst->getEnforcement(),
1297
44
                Inst->hasNoNestedConflict(), Inst->isFromBuiltin()));
1298
44
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitBeginAccessInstEPNS_15BeginAccessInstE
_ZN5swift9SILClonerINS_13GenericClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Line
Count
Source
1291
102
void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) {
1292
102
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1293
102
  recordClonedInstruction(
1294
102
      Inst, getBuilder().createBeginAccess(
1295
102
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1296
102
                Inst->getAccessKind(), Inst->getEnforcement(),
1297
102
                Inst->hasNoNestedConflict(), Inst->isFromBuiltin()));
1298
102
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
Line
Count
Source
1291
1.64k
void SILCloner<ImplClass>::visitBeginAccessInst(BeginAccessInst *Inst) {
1292
1.64k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1293
1.64k
  recordClonedInstruction(
1294
1.64k
      Inst, getBuilder().createBeginAccess(
1295
1.64k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1296
1.64k
                Inst->getAccessKind(), Inst->getEnforcement(),
1297
1.64k
                Inst->hasNoNestedConflict(), Inst->isFromBuiltin()));
1298
1.64k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitBeginAccessInstEPNS_15BeginAccessInstE
1299
1300
template <typename ImplClass>
1301
2.92k
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
2.92k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
2.92k
  recordClonedInstruction(
1304
2.92k
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
2.92k
                                         getOpValue(Inst->getOperand()),
1306
2.92k
                                         Inst->isAborting()));
1307
2.92k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitEndAccessInstEPNS_13EndAccessInstE
Line
Count
Source
1301
148
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
148
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
148
  recordClonedInstruction(
1304
148
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
148
                                         getOpValue(Inst->getOperand()),
1306
148
                                         Inst->isAborting()));
1307
148
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitEndAccessInstEPNS_13EndAccessInstE
Line
Count
Source
1301
876
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
876
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
876
  recordClonedInstruction(
1304
876
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
876
                                         getOpValue(Inst->getOperand()),
1306
876
                                         Inst->isAborting()));
1307
876
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Line
Count
Source
1301
22
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
22
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
22
  recordClonedInstruction(
1304
22
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
22
                                         getOpValue(Inst->getOperand()),
1306
22
                                         Inst->isAborting()));
1307
22
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Line
Count
Source
1301
36
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
36
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
36
  recordClonedInstruction(
1304
36
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
36
                                         getOpValue(Inst->getOperand()),
1306
36
                                         Inst->isAborting()));
1307
36
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitEndAccessInstEPNS_13EndAccessInstE
Line
Count
Source
1301
2
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
2
  recordClonedInstruction(
1304
2
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
2
                                         getOpValue(Inst->getOperand()),
1306
2
                                         Inst->isAborting()));
1307
2
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Line
Count
Source
1301
22
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
22
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
22
  recordClonedInstruction(
1304
22
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
22
                                         getOpValue(Inst->getOperand()),
1306
22
                                         Inst->isAborting()));
1307
22
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Line
Count
Source
1301
3
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
3
  recordClonedInstruction(
1304
3
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
3
                                         getOpValue(Inst->getOperand()),
1306
3
                                         Inst->isAborting()));
1307
3
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitEndAccessInstEPNS_13EndAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Line
Count
Source
1301
44
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
44
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
44
  recordClonedInstruction(
1304
44
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
44
                                         getOpValue(Inst->getOperand()),
1306
44
                                         Inst->isAborting()));
1307
44
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitEndAccessInstEPNS_13EndAccessInstE
_ZN5swift9SILClonerINS_13GenericClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Line
Count
Source
1301
102
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
102
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
102
  recordClonedInstruction(
1304
102
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
102
                                         getOpValue(Inst->getOperand()),
1306
102
                                         Inst->isAborting()));
1307
102
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
Line
Count
Source
1301
1.66k
void SILCloner<ImplClass>::visitEndAccessInst(EndAccessInst *Inst) {
1302
1.66k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1303
1.66k
  recordClonedInstruction(
1304
1.66k
      Inst, getBuilder().createEndAccess(getOpLocation(Inst->getLoc()),
1305
1.66k
                                         getOpValue(Inst->getOperand()),
1306
1.66k
                                         Inst->isAborting()));
1307
1.66k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitEndAccessInstEPNS_13EndAccessInstE
1308
1309
template <typename ImplClass>
1310
void SILCloner<ImplClass>::visitBeginUnpairedAccessInst(
1311
0
                                           BeginUnpairedAccessInst *Inst) {
1312
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1313
0
  recordClonedInstruction(
1314
0
      Inst, getBuilder().createBeginUnpairedAccess(
1315
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSource()),
1316
0
                getOpValue(Inst->getBuffer()), Inst->getAccessKind(),
1317
0
                Inst->getEnforcement(), Inst->hasNoNestedConflict(),
1318
0
                Inst->isFromBuiltin()));
1319
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitBeginUnpairedAccessInstEPNS_23BeginUnpairedAccessInstE
1320
1321
template <typename ImplClass>
1322
void SILCloner<ImplClass>::visitEndUnpairedAccessInst(
1323
0
                                             EndUnpairedAccessInst *Inst) {
1324
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1325
0
  recordClonedInstruction(Inst, getBuilder().createEndUnpairedAccess(
1326
0
                                    getOpLocation(Inst->getLoc()),
1327
0
                                    getOpValue(Inst->getOperand()),
1328
0
                                    Inst->getEnforcement(), Inst->isAborting(),
1329
0
                                    Inst->isFromBuiltin()));
1330
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitEndUnpairedAccessInstEPNS_21EndUnpairedAccessInstE
1331
1332
template <typename ImplClass>
1333
0
void SILCloner<ImplClass>::visitAssignInst(AssignInst *Inst) {
1334
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1335
0
  recordClonedInstruction(
1336
0
      Inst, getBuilder().createAssign(getOpLocation(Inst->getLoc()),
1337
0
                                      getOpValue(Inst->getSrc()),
1338
0
                                      getOpValue(Inst->getDest()),
1339
0
                                      Inst->getOwnershipQualifier()));
1340
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE15visitAssignInstEPNS_10AssignInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitAssignInstEPNS_10AssignInstE
1341
1342
template <typename ImplClass>
1343
0
void SILCloner<ImplClass>::visitAssignByWrapperInst(AssignByWrapperInst *Inst) {
1344
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1345
0
  recordClonedInstruction(
1346
0
      Inst, getBuilder().createAssignByWrapper(
1347
0
                getOpLocation(Inst->getLoc()),
1348
0
                getOpValue(Inst->getSrc()), getOpValue(Inst->getDest()),
1349
0
                getOpValue(Inst->getInitializer()),
1350
0
                getOpValue(Inst->getSetter()), Inst->getMode()));
1351
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitAssignByWrapperInstEPNS_19AssignByWrapperInstE
1352
1353
template <typename ImplClass>
1354
0
void SILCloner<ImplClass>::visitAssignOrInitInst(AssignOrInitInst *Inst) {
1355
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1356
0
  recordClonedInstruction(
1357
0
      Inst, getBuilder().createAssignOrInit(
1358
0
                getOpLocation(Inst->getLoc()),
1359
0
                Inst->getProperty(),
1360
0
                getOpValue(Inst->getSelf()),
1361
0
                getOpValue(Inst->getSrc()),
1362
0
                getOpValue(Inst->getInitializer()),
1363
0
                getOpValue(Inst->getSetter()), Inst->getMode()));
1364
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitAssignOrInitInstEPNS_16AssignOrInitInstE
1365
1366
template<typename ImplClass>
1367
void
1368
0
SILCloner<ImplClass>::visitMarkUninitializedInst(MarkUninitializedInst *Inst) {
1369
0
  SILValue OpValue = getOpValue(Inst->getOperand());
1370
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1371
0
  recordClonedInstruction(Inst, getBuilder().createMarkUninitialized(
1372
0
                                    getOpLocation(Inst->getLoc()), OpValue,
1373
0
                                    Inst->getMarkUninitializedKind()));
1374
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitMarkUninitializedInstEPNS_21MarkUninitializedInstE
1375
1376
template<typename ImplClass>
1377
void
1378
0
SILCloner<ImplClass>::visitMarkFunctionEscapeInst(MarkFunctionEscapeInst *Inst){
1379
0
  auto OpElements = getOpValueArray<8>(Inst->getElements());
1380
0
  auto OpLoc = getOpLocation(Inst->getLoc());
1381
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1382
0
  recordClonedInstruction(
1383
0
      Inst, getBuilder().createMarkFunctionEscape(OpLoc, OpElements));
1384
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitMarkFunctionEscapeInstEPNS_22MarkFunctionEscapeInstE
1385
template<typename ImplClass>
1386
void
1387
86.5k
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
86.5k
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
86.5k
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
86.5k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
86.5k
  auto *NewInst = getBuilder().createDebugValue(
1398
86.5k
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
86.5k
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
86.5k
      Inst->hasTrace());
1401
86.5k
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
86.5k
  recordClonedInstruction(Inst, NewInst);
1403
86.5k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
1
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
1
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
1
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
1
  auto *NewInst = getBuilder().createDebugValue(
1398
1
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
1
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
1
      Inst->hasTrace());
1401
1
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
1
  recordClonedInstruction(Inst, NewInst);
1403
1
}
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
539
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
539
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
539
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
539
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
539
  auto *NewInst = getBuilder().createDebugValue(
1398
539
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
539
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
539
      Inst->hasTrace());
1401
539
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
539
  recordClonedInstruction(Inst, NewInst);
1403
539
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
2.14k
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
2.14k
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
2.14k
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
2.14k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
2.14k
  auto *NewInst = getBuilder().createDebugValue(
1398
2.14k
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
2.14k
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
2.14k
      Inst->hasTrace());
1401
2.14k
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
2.14k
  recordClonedInstruction(Inst, NewInst);
1403
2.14k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
3.05k
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
3.05k
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
3.05k
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
3.05k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
3.05k
  auto *NewInst = getBuilder().createDebugValue(
1398
3.05k
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
3.05k
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
3.05k
      Inst->hasTrace());
1401
3.05k
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
3.05k
  recordClonedInstruction(Inst, NewInst);
1403
3.05k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
239
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
239
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
239
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
239
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
239
  auto *NewInst = getBuilder().createDebugValue(
1398
239
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
239
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
239
      Inst->hasTrace());
1401
239
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
239
  recordClonedInstruction(Inst, NewInst);
1403
239
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
733
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
733
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
733
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
733
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
733
  auto *NewInst = getBuilder().createDebugValue(
1398
733
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
733
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
733
      Inst->hasTrace());
1401
733
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
733
  recordClonedInstruction(Inst, NewInst);
1403
733
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
58
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
58
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
58
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
58
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
58
  auto *NewInst = getBuilder().createDebugValue(
1398
58
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
58
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
58
      Inst->hasTrace());
1401
58
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
58
  recordClonedInstruction(Inst, NewInst);
1403
58
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
30
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
30
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
30
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
30
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
30
  auto *NewInst = getBuilder().createDebugValue(
1398
30
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
30
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
30
      Inst->hasTrace());
1401
30
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
30
  recordClonedInstruction(Inst, NewInst);
1403
30
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
27
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
27
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
27
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
27
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
27
  auto *NewInst = getBuilder().createDebugValue(
1398
27
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
27
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
27
      Inst->hasTrace());
1401
27
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
27
  recordClonedInstruction(Inst, NewInst);
1403
27
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
16
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
16
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
16
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
16
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
16
  auto *NewInst = getBuilder().createDebugValue(
1398
16
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
16
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
16
      Inst->hasTrace());
1401
16
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
16
  recordClonedInstruction(Inst, NewInst);
1403
16
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
1.54k
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
1.54k
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
1.54k
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
1.54k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
1.54k
  auto *NewInst = getBuilder().createDebugValue(
1398
1.54k
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
1.54k
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
1.54k
      Inst->hasTrace());
1401
1.54k
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
1.54k
  recordClonedInstruction(Inst, NewInst);
1403
1.54k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitDebugValueInstEPNS_14DebugValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
39
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
39
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
39
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
39
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
39
  auto *NewInst = getBuilder().createDebugValue(
1398
39
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
39
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
39
      Inst->hasTrace());
1401
39
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
39
  recordClonedInstruction(Inst, NewInst);
1403
39
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitDebugValueInstEPNS_14DebugValueInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
19.7k
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
19.7k
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
19.7k
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
19.7k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
19.7k
  auto *NewInst = getBuilder().createDebugValue(
1398
19.7k
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
19.7k
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
19.7k
      Inst->hasTrace());
1401
19.7k
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
19.7k
  recordClonedInstruction(Inst, NewInst);
1403
19.7k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
58.2k
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
58.2k
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
58.2k
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
58.2k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
58.2k
  auto *NewInst = getBuilder().createDebugValue(
1398
58.2k
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
58.2k
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
58.2k
      Inst->hasTrace());
1401
58.2k
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
58.2k
  recordClonedInstruction(Inst, NewInst);
1403
58.2k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitDebugValueInstEPNS_14DebugValueInstE
Line
Count
Source
1387
77
SILCloner<ImplClass>::visitDebugValueInst(DebugValueInst *Inst) {
1388
  // We cannot inline/clone debug intrinsics without a scope. If they
1389
  // describe function arguments there is no way to determine which
1390
  // function they belong to.
1391
77
  if (!Inst->getDebugScope())
1392
0
    return;
1393
1394
  // Since we want the debug info to survive, we do not remap the location here.
1395
77
  SILDebugVariable VarInfo = *Inst->getVarInfo();
1396
77
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1397
77
  auto *NewInst = getBuilder().createDebugValue(
1398
77
      Inst->getLoc(), getOpValue(Inst->getOperand()), VarInfo,
1399
77
      Inst->poisonRefs(), Inst->getUsesMoveableValueDebugInfo(),
1400
77
      Inst->hasTrace());
1401
77
  remapDebugVarInfo(DebugVarCarryingInst(NewInst));
1402
77
  recordClonedInstruction(Inst, NewInst);
1403
77
}
1404
template<typename ImplClass>
1405
void
1406
0
SILCloner<ImplClass>::visitDebugStepInst(DebugStepInst *Inst) {
1407
0
  recordClonedInstruction(Inst, getBuilder().createDebugStep(Inst->getLoc()));
1408
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitDebugStepInstEPNS_13DebugStepInstE
1409
1410
template <typename ImplClass>
1411
void SILCloner<ImplClass>::visitUnownedCopyValueInst(
1412
0
    UnownedCopyValueInst *Inst) {
1413
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1414
0
  recordClonedInstruction(
1415
0
      Inst, getBuilder().createUnownedCopyValue(
1416
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
1417
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitUnownedCopyValueInstEPNS_20UnownedCopyValueInstE
1418
1419
template <typename ImplClass>
1420
0
void SILCloner<ImplClass>::visitWeakCopyValueInst(WeakCopyValueInst *Inst) {
1421
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1422
0
  recordClonedInstruction(
1423
0
      Inst, getBuilder().createWeakCopyValue(getOpLocation(Inst->getLoc()),
1424
0
                                             getOpValue(Inst->getOperand())));
1425
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitWeakCopyValueInstEPNS_17WeakCopyValueInstE
1426
1427
#define COPYABLE_STORAGE_HELPER(Name, name)                                    \
1428
  template <typename ImplClass>                                                \
1429
  void SILCloner<ImplClass>::visitStrongCopy##Name##ValueInst(                 \
1430
32
      StrongCopy##Name##ValueInst *Inst) {                                     \
1431
32
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1432
32
    recordClonedInstruction(Inst, getBuilder().createStrongCopy##Name##Value(  \
1433
32
                                      getOpLocation(Inst->getLoc()),           \
1434
32
                                      getOpValue(Inst->getOperand())));        \
1435
32
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
_ZN5swift9SILClonerINS_13GenericClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Line
Count
Source
1430
16
      StrongCopy##Name##ValueInst *Inst) {                                     \
1431
16
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1432
16
    recordClonedInstruction(Inst, getBuilder().createStrongCopy##Name##Value(  \
1433
16
                                      getOpLocation(Inst->getLoc()),           \
1434
16
                                      getOpValue(Inst->getOperand())));        \
1435
16
  }
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
Line
Count
Source
1430
16
      StrongCopy##Name##ValueInst *Inst) {                                     \
1431
16
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1432
16
    recordClonedInstruction(Inst, getBuilder().createStrongCopy##Name##Value(  \
1433
16
                                      getOpLocation(Inst->getLoc()),           \
1434
16
                                      getOpValue(Inst->getOperand())));        \
1435
16
  }
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitStrongCopyWeakValueInstEPNS_23StrongCopyWeakValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitStrongCopyUnownedValueInstEPNS_26StrongCopyUnownedValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE33visitStrongCopyUnmanagedValueInstEPNS_28StrongCopyUnmanagedValueInstE
1436
1437
#define LOADABLE_STORAGE_HELPER(Name, name)                                    \
1438
  template <typename ImplClass>                                                \
1439
0
  void SILCloner<ImplClass>::visitLoad##Name##Inst(Load##Name##Inst *Inst) {   \
1440
0
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1441
0
    recordClonedInstruction(                                                   \
1442
0
        Inst, getBuilder().createLoad##Name(getOpLocation(Inst->getLoc()),     \
1443
0
                                            getOpValue(Inst->getOperand()),    \
1444
0
                                            Inst->isTake()));                  \
1445
0
  }                                                                            \
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitLoadWeakInstEPNS_12LoadWeakInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitLoadUnownedInstEPNS_15LoadUnownedInstE
1446
  template <typename ImplClass>                                                \
1447
0
  void SILCloner<ImplClass>::visitStore##Name##Inst(Store##Name##Inst *Inst) { \
1448
0
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1449
0
    recordClonedInstruction(                                                   \
1450
0
        Inst, getBuilder().createStore##Name(getOpLocation(Inst->getLoc()),    \
1451
0
                                             getOpValue(Inst->getSrc()),       \
1452
0
                                             getOpValue(Inst->getDest()),      \
1453
0
                                             Inst->isInitializationOfDest())); \
1454
0
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitStoreWeakInstEPNS_13StoreWeakInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitStoreUnownedInstEPNS_16StoreUnownedInstE
1455
#define LOADABLE_REF_STORAGE_HELPER(Name, name)                                \
1456
  template <typename ImplClass>                                                \
1457
28
  void SILCloner<ImplClass>::visitRefTo##Name##Inst(RefTo##Name##Inst *Inst) { \
1458
28
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1459
28
    recordClonedInstruction(                                                   \
1460
28
        Inst, getBuilder().createRefTo##Name(getOpLocation(Inst->getLoc()),    \
1461
28
                                             getOpValue(Inst->getOperand()),   \
1462
28
                                             getOpType(Inst->getType())));     \
1463
28
  }                                                                            \
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
_ZN5swift9SILClonerINS_13GenericClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Line
Count
Source
1457
16
  void SILCloner<ImplClass>::visitRefTo##Name##Inst(RefTo##Name##Inst *Inst) { \
1458
16
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1459
16
    recordClonedInstruction(                                                   \
1460
16
        Inst, getBuilder().createRefTo##Name(getOpLocation(Inst->getLoc()),    \
1461
16
                                             getOpValue(Inst->getOperand()),   \
1462
16
                                             getOpType(Inst->getType())));     \
1463
16
  }                                                                            \
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
Line
Count
Source
1457
12
  void SILCloner<ImplClass>::visitRefTo##Name##Inst(RefTo##Name##Inst *Inst) { \
1458
12
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1459
12
    recordClonedInstruction(                                                   \
1460
12
        Inst, getBuilder().createRefTo##Name(getOpLocation(Inst->getLoc()),    \
1461
12
                                             getOpValue(Inst->getOperand()),   \
1462
12
                                             getOpType(Inst->getType())));     \
1463
12
  }                                                                            \
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitRefToUnownedInstEPNS_16RefToUnownedInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitRefToUnmanagedInstEPNS_18RefToUnmanagedInstE
1464
  template <typename ImplClass>                                                \
1465
0
  void SILCloner<ImplClass>::visit##Name##ToRefInst(Name##ToRefInst *Inst) {   \
1466
0
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1467
0
    recordClonedInstruction(                                                   \
1468
0
        Inst, getBuilder().create##Name##ToRef(getOpLocation(Inst->getLoc()),  \
1469
0
                                               getOpValue(Inst->getOperand()), \
1470
0
                                               getOpType(Inst->getType())));   \
1471
0
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitUnownedToRefInstEPNS_16UnownedToRefInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitUnmanagedToRefInstEPNS_18UnmanagedToRefInstE
1472
#define RETAINABLE_STORAGE_HELPER(Name, name)                                  \
1473
  template <typename ImplClass>                                                \
1474
  void SILCloner<ImplClass>::visitStrongRetain##Name##Inst(                    \
1475
0
      StrongRetain##Name##Inst *Inst) {                                        \
1476
0
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1477
0
    recordClonedInstruction(Inst, getBuilder().createStrongRetain##Name(       \
1478
0
                                      getOpLocation(Inst->getLoc()),           \
1479
0
                                      getOpValue(Inst->getOperand()),          \
1480
0
                                      Inst->getAtomicity()));                  \
1481
0
  }                                                                            \
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitStrongRetainUnownedInstEPNS_23StrongRetainUnownedInstE
1482
  template <typename ImplClass>                                                \
1483
0
  void SILCloner<ImplClass>::visit##Name##RetainInst(Name##RetainInst *Inst) { \
1484
0
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1485
0
    recordClonedInstruction(Inst, getBuilder().create##Name##Retain(           \
1486
0
                                      getOpLocation(Inst->getLoc()),           \
1487
0
                                      getOpValue(Inst->getOperand()),          \
1488
0
                                      Inst->getAtomicity()));                  \
1489
0
  }                                                                            \
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitUnownedRetainInstEPNS_17UnownedRetainInstE
1490
  template <typename ImplClass>                                                \
1491
  void SILCloner<ImplClass>::visit##Name##ReleaseInst(                         \
1492
0
      Name##ReleaseInst *Inst) {                                               \
1493
0
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));      \
1494
0
    recordClonedInstruction(Inst, getBuilder().create##Name##Release(          \
1495
0
                                      getOpLocation(Inst->getLoc()),           \
1496
0
                                      getOpValue(Inst->getOperand()),          \
1497
0
                                      Inst->getAtomicity()));                  \
1498
0
  }
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitUnownedReleaseInstEPNS_18UnownedReleaseInstE
1499
#define NEVER_LOADABLE_CHECKED_REF_STORAGE(Name, name, ...)                    \
1500
  COPYABLE_STORAGE_HELPER(Name, name)                                          \
1501
  LOADABLE_STORAGE_HELPER(Name, name)
1502
#define ALWAYS_LOADABLE_CHECKED_REF_STORAGE(Name, name, ...)                   \
1503
  COPYABLE_STORAGE_HELPER(Name, name)                                          \
1504
  LOADABLE_REF_STORAGE_HELPER(Name, name)                                      \
1505
  RETAINABLE_STORAGE_HELPER(Name, name)
1506
#define SOMETIMES_LOADABLE_CHECKED_REF_STORAGE(Name, name, ...)                \
1507
  COPYABLE_STORAGE_HELPER(Name, name)                                          \
1508
  LOADABLE_REF_STORAGE_HELPER(Name, name)                                      \
1509
  LOADABLE_STORAGE_HELPER(Name, name)                                          \
1510
  RETAINABLE_STORAGE_HELPER(Name, name)
1511
#define UNCHECKED_REF_STORAGE(Name, name, ...)                                 \
1512
  COPYABLE_STORAGE_HELPER(Name, name)                                          \
1513
  LOADABLE_REF_STORAGE_HELPER(Name, name)
1514
#include "swift/AST/ReferenceStorage.def"
1515
#undef LOADABLE_STORAGE_HELPER
1516
#undef LOADABLE_REF_STORAGE_HELPER
1517
#undef COPYABLE_STORAGE_HELPER
1518
#undef RETAINABLE_STORAGE_HELPER
1519
1520
template<typename ImplClass>
1521
void
1522
30.7k
SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) {
1523
30.7k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1524
30.7k
  recordClonedInstruction(
1525
30.7k
      Inst, getBuilder().createCopyAddr(
1526
30.7k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1527
30.7k
                getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1528
30.7k
                Inst->isInitializationOfDest()));
1529
30.7k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Line
Count
Source
1522
62
SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) {
1523
62
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1524
62
  recordClonedInstruction(
1525
62
      Inst, getBuilder().createCopyAddr(
1526
62
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1527
62
                getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1528
62
                Inst->isInitializationOfDest()));
1529
62
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Line
Count
Source
1522
590
SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) {
1523
590
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1524
590
  recordClonedInstruction(
1525
590
      Inst, getBuilder().createCopyAddr(
1526
590
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1527
590
                getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1528
590
                Inst->isInitializationOfDest()));
1529
590
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Line
Count
Source
1522
4
SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) {
1523
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1524
4
  recordClonedInstruction(
1525
4
      Inst, getBuilder().createCopyAddr(
1526
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1527
4
                getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1528
4
                Inst->isInitializationOfDest()));
1529
4
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Line
Count
Source
1522
19
SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) {
1523
19
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1524
19
  recordClonedInstruction(
1525
19
      Inst, getBuilder().createCopyAddr(
1526
19
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1527
19
                getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1528
19
                Inst->isInitializationOfDest()));
1529
19
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Line
Count
Source
1522
4
SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) {
1523
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1524
4
  recordClonedInstruction(
1525
4
      Inst, getBuilder().createCopyAddr(
1526
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1527
4
                getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1528
4
                Inst->isInitializationOfDest()));
1529
4
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Line
Count
Source
1522
22
SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) {
1523
22
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1524
22
  recordClonedInstruction(
1525
22
      Inst, getBuilder().createCopyAddr(
1526
22
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1527
22
                getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1528
22
                Inst->isInitializationOfDest()));
1529
22
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Line
Count
Source
1522
17
SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) {
1523
17
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1524
17
  recordClonedInstruction(
1525
17
      Inst, getBuilder().createCopyAddr(
1526
17
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1527
17
                getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1528
17
                Inst->isInitializationOfDest()));
1529
17
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitCopyAddrInstEPNS_12CopyAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Line
Count
Source
1522
16.7k
SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) {
1523
16.7k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1524
16.7k
  recordClonedInstruction(
1525
16.7k
      Inst, getBuilder().createCopyAddr(
1526
16.7k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1527
16.7k
                getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1528
16.7k
                Inst->isInitializationOfDest()));
1529
16.7k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
Line
Count
Source
1522
13.3k
SILCloner<ImplClass>::visitCopyAddrInst(CopyAddrInst *Inst) {
1523
13.3k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1524
13.3k
  recordClonedInstruction(
1525
13.3k
      Inst, getBuilder().createCopyAddr(
1526
13.3k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1527
13.3k
                getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1528
13.3k
                Inst->isInitializationOfDest()));
1529
13.3k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitCopyAddrInstEPNS_12CopyAddrInstE
1530
1531
template <typename ImplClass>
1532
void SILCloner<ImplClass>::visitExplicitCopyAddrInst(
1533
0
    ExplicitCopyAddrInst *Inst) {
1534
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1535
0
  if (!getBuilder().hasOwnership()) {
1536
0
    recordClonedInstruction(
1537
0
        Inst, getBuilder().createCopyAddr(
1538
0
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1539
0
                  getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1540
0
                  Inst->isInitializationOfDest()));
1541
0
  } else {
1542
    // preserve the explicit_*
1543
0
    recordClonedInstruction(
1544
0
        Inst, getBuilder().createExplicitCopyAddr(
1545
0
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1546
0
                  getOpValue(Inst->getDest()), Inst->isTakeOfSrc(),
1547
0
                  Inst->isInitializationOfDest()));
1548
0
  }
1549
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitExplicitCopyAddrInstEPNS_20ExplicitCopyAddrInstE
1550
1551
template <typename ImplClass>
1552
void SILCloner<ImplClass>::visitMarkUnresolvedMoveAddrInst(
1553
0
    MarkUnresolvedMoveAddrInst *Inst) {
1554
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1555
0
  auto *MVI = getBuilder().createMarkUnresolvedMoveAddr(
1556
0
      getOpLocation(Inst->getLoc()), getOpValue(Inst->getSrc()),
1557
0
      getOpValue(Inst->getDest()));
1558
0
  recordClonedInstruction(Inst, MVI);
1559
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitMarkUnresolvedMoveAddrInstEPNS_26MarkUnresolvedMoveAddrInstE
1560
1561
template<typename ImplClass>
1562
void
1563
6.08k
SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) {
1564
6.08k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1565
6.08k
  recordClonedInstruction(
1566
6.08k
      Inst, getBuilder().createBindMemory(
1567
6.08k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()),
1568
6.08k
                getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType())));
1569
6.08k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitBindMemoryInstEPNS_14BindMemoryInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Line
Count
Source
1563
140
SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) {
1564
140
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1565
140
  recordClonedInstruction(
1566
140
      Inst, getBuilder().createBindMemory(
1567
140
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()),
1568
140
                getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType())));
1569
140
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Line
Count
Source
1563
4
SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) {
1564
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1565
4
  recordClonedInstruction(
1566
4
      Inst, getBuilder().createBindMemory(
1567
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()),
1568
4
                getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType())));
1569
4
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Line
Count
Source
1563
185
SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) {
1564
185
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1565
185
  recordClonedInstruction(
1566
185
      Inst, getBuilder().createBindMemory(
1567
185
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()),
1568
185
                getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType())));
1569
185
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Line
Count
Source
1563
2
SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) {
1564
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1565
2
  recordClonedInstruction(
1566
2
      Inst, getBuilder().createBindMemory(
1567
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()),
1568
2
                getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType())));
1569
2
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Line
Count
Source
1563
12
SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) {
1564
12
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1565
12
  recordClonedInstruction(
1566
12
      Inst, getBuilder().createBindMemory(
1567
12
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()),
1568
12
                getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType())));
1569
12
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Line
Count
Source
1563
1
SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) {
1564
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1565
1
  recordClonedInstruction(
1566
1
      Inst, getBuilder().createBindMemory(
1567
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()),
1568
1
                getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType())));
1569
1
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitBindMemoryInstEPNS_14BindMemoryInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Line
Count
Source
1563
1.88k
SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) {
1564
1.88k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1565
1.88k
  recordClonedInstruction(
1566
1.88k
      Inst, getBuilder().createBindMemory(
1567
1.88k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()),
1568
1.88k
                getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType())));
1569
1.88k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
Line
Count
Source
1563
3.86k
SILCloner<ImplClass>::visitBindMemoryInst(BindMemoryInst *Inst) {
1564
3.86k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1565
3.86k
  recordClonedInstruction(
1566
3.86k
      Inst, getBuilder().createBindMemory(
1567
3.86k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()),
1568
3.86k
                getOpValue(Inst->getIndex()), getOpType(Inst->getBoundType())));
1569
3.86k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitBindMemoryInstEPNS_14BindMemoryInstE
1570
1571
template <typename ImplClass>
1572
463
void SILCloner<ImplClass>::visitRebindMemoryInst(RebindMemoryInst *Inst) {
1573
463
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1574
463
  recordClonedInstruction(
1575
463
      Inst, getBuilder().createRebindMemory(getOpLocation(Inst->getLoc()),
1576
463
                                            getOpValue(Inst->getBase()),
1577
463
                                            getOpValue(Inst->getInToken())));
1578
463
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Line
Count
Source
1572
57
void SILCloner<ImplClass>::visitRebindMemoryInst(RebindMemoryInst *Inst) {
1573
57
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1574
57
  recordClonedInstruction(
1575
57
      Inst, getBuilder().createRebindMemory(getOpLocation(Inst->getLoc()),
1576
57
                                            getOpValue(Inst->getBase()),
1577
57
                                            getOpValue(Inst->getInToken())));
1578
57
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Line
Count
Source
1572
8
void SILCloner<ImplClass>::visitRebindMemoryInst(RebindMemoryInst *Inst) {
1573
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1574
8
  recordClonedInstruction(
1575
8
      Inst, getBuilder().createRebindMemory(getOpLocation(Inst->getLoc()),
1576
8
                                            getOpValue(Inst->getBase()),
1577
8
                                            getOpValue(Inst->getInToken())));
1578
8
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
_ZN5swift9SILClonerINS_13GenericClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Line
Count
Source
1572
67
void SILCloner<ImplClass>::visitRebindMemoryInst(RebindMemoryInst *Inst) {
1573
67
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1574
67
  recordClonedInstruction(
1575
67
      Inst, getBuilder().createRebindMemory(getOpLocation(Inst->getLoc()),
1576
67
                                            getOpValue(Inst->getBase()),
1577
67
                                            getOpValue(Inst->getInToken())));
1578
67
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
Line
Count
Source
1572
331
void SILCloner<ImplClass>::visitRebindMemoryInst(RebindMemoryInst *Inst) {
1573
331
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1574
331
  recordClonedInstruction(
1575
331
      Inst, getBuilder().createRebindMemory(getOpLocation(Inst->getLoc()),
1576
331
                                            getOpValue(Inst->getBase()),
1577
331
                                            getOpValue(Inst->getInToken())));
1578
331
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitRebindMemoryInstEPNS_16RebindMemoryInstE
1579
1580
template<typename ImplClass>
1581
void
1582
1.19k
SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) {
1583
1.19k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1584
1.19k
  recordClonedInstruction(
1585
1.19k
      Inst, getBuilder().createConvertFunction(
1586
1.19k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1587
1.19k
                getOpType(Inst->getType()), Inst->withoutActuallyEscaping(),
1588
1.19k
                getBuilder().hasOwnership()
1589
1.19k
                    ? Inst->getForwardingOwnershipKind()
1590
1.19k
                    : ValueOwnershipKind(OwnershipKind::None)));
1591
1.19k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Line
Count
Source
1582
21
SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) {
1583
21
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1584
21
  recordClonedInstruction(
1585
21
      Inst, getBuilder().createConvertFunction(
1586
21
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1587
21
                getOpType(Inst->getType()), Inst->withoutActuallyEscaping(),
1588
21
                getBuilder().hasOwnership()
1589
21
                    ? Inst->getForwardingOwnershipKind()
1590
21
                    : ValueOwnershipKind(OwnershipKind::None)));
1591
21
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Line
Count
Source
1582
39
SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) {
1583
39
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1584
39
  recordClonedInstruction(
1585
39
      Inst, getBuilder().createConvertFunction(
1586
39
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1587
39
                getOpType(Inst->getType()), Inst->withoutActuallyEscaping(),
1588
39
                getBuilder().hasOwnership()
1589
39
                    ? Inst->getForwardingOwnershipKind()
1590
39
                    : ValueOwnershipKind(OwnershipKind::None)));
1591
39
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Line
Count
Source
1582
3
SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) {
1583
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1584
3
  recordClonedInstruction(
1585
3
      Inst, getBuilder().createConvertFunction(
1586
3
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1587
3
                getOpType(Inst->getType()), Inst->withoutActuallyEscaping(),
1588
3
                getBuilder().hasOwnership()
1589
3
                    ? Inst->getForwardingOwnershipKind()
1590
3
                    : ValueOwnershipKind(OwnershipKind::None)));
1591
3
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Line
Count
Source
1582
4
SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) {
1583
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1584
4
  recordClonedInstruction(
1585
4
      Inst, getBuilder().createConvertFunction(
1586
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1587
4
                getOpType(Inst->getType()), Inst->withoutActuallyEscaping(),
1588
4
                getBuilder().hasOwnership()
1589
4
                    ? Inst->getForwardingOwnershipKind()
1590
4
                    : ValueOwnershipKind(OwnershipKind::None)));
1591
4
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Line
Count
Source
1582
1
SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) {
1583
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1584
1
  recordClonedInstruction(
1585
1
      Inst, getBuilder().createConvertFunction(
1586
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1587
1
                getOpType(Inst->getType()), Inst->withoutActuallyEscaping(),
1588
1
                getBuilder().hasOwnership()
1589
1
                    ? Inst->getForwardingOwnershipKind()
1590
1
                    : ValueOwnershipKind(OwnershipKind::None)));
1591
1
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Line
Count
Source
1582
20
SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) {
1583
20
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1584
20
  recordClonedInstruction(
1585
20
      Inst, getBuilder().createConvertFunction(
1586
20
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1587
20
                getOpType(Inst->getType()), Inst->withoutActuallyEscaping(),
1588
20
                getBuilder().hasOwnership()
1589
20
                    ? Inst->getForwardingOwnershipKind()
1590
20
                    : ValueOwnershipKind(OwnershipKind::None)));
1591
20
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
_ZN5swift9SILClonerINS_13GenericClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Line
Count
Source
1582
776
SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) {
1583
776
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1584
776
  recordClonedInstruction(
1585
776
      Inst, getBuilder().createConvertFunction(
1586
776
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1587
776
                getOpType(Inst->getType()), Inst->withoutActuallyEscaping(),
1588
776
                getBuilder().hasOwnership()
1589
776
                    ? Inst->getForwardingOwnershipKind()
1590
776
                    : ValueOwnershipKind(OwnershipKind::None)));
1591
776
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Line
Count
Source
1582
333
SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) {
1583
333
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1584
333
  recordClonedInstruction(
1585
333
      Inst, getBuilder().createConvertFunction(
1586
333
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1587
333
                getOpType(Inst->getType()), Inst->withoutActuallyEscaping(),
1588
333
                getBuilder().hasOwnership()
1589
333
                    ? Inst->getForwardingOwnershipKind()
1590
333
                    : ValueOwnershipKind(OwnershipKind::None)));
1591
333
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitConvertFunctionInstEPNS_19ConvertFunctionInstE
Line
Count
Source
1582
2
SILCloner<ImplClass>::visitConvertFunctionInst(ConvertFunctionInst *Inst) {
1583
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1584
2
  recordClonedInstruction(
1585
2
      Inst, getBuilder().createConvertFunction(
1586
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1587
2
                getOpType(Inst->getType()), Inst->withoutActuallyEscaping(),
1588
2
                getBuilder().hasOwnership()
1589
2
                    ? Inst->getForwardingOwnershipKind()
1590
2
                    : ValueOwnershipKind(OwnershipKind::None)));
1591
2
}
1592
1593
template <typename ImplClass>
1594
void SILCloner<ImplClass>::visitConvertEscapeToNoEscapeInst(
1595
364
    ConvertEscapeToNoEscapeInst *Inst) {
1596
364
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1597
364
  recordClonedInstruction(
1598
364
      Inst, getBuilder().createConvertEscapeToNoEscape(
1599
364
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1600
364
                getOpType(Inst->getType()), Inst->isLifetimeGuaranteed()));
1601
364
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Line
Count
Source
1595
30
    ConvertEscapeToNoEscapeInst *Inst) {
1596
30
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1597
30
  recordClonedInstruction(
1598
30
      Inst, getBuilder().createConvertEscapeToNoEscape(
1599
30
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1600
30
                getOpType(Inst->getType()), Inst->isLifetimeGuaranteed()));
1601
30
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Line
Count
Source
1595
49
    ConvertEscapeToNoEscapeInst *Inst) {
1596
49
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1597
49
  recordClonedInstruction(
1598
49
      Inst, getBuilder().createConvertEscapeToNoEscape(
1599
49
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1600
49
                getOpType(Inst->getType()), Inst->isLifetimeGuaranteed()));
1601
49
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Line
Count
Source
1595
3
    ConvertEscapeToNoEscapeInst *Inst) {
1596
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1597
3
  recordClonedInstruction(
1598
3
      Inst, getBuilder().createConvertEscapeToNoEscape(
1599
3
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1600
3
                getOpType(Inst->getType()), Inst->isLifetimeGuaranteed()));
1601
3
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Line
Count
Source
1595
8
    ConvertEscapeToNoEscapeInst *Inst) {
1596
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1597
8
  recordClonedInstruction(
1598
8
      Inst, getBuilder().createConvertEscapeToNoEscape(
1599
8
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1600
8
                getOpType(Inst->getType()), Inst->isLifetimeGuaranteed()));
1601
8
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Line
Count
Source
1595
4
    ConvertEscapeToNoEscapeInst *Inst) {
1596
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1597
4
  recordClonedInstruction(
1598
4
      Inst, getBuilder().createConvertEscapeToNoEscape(
1599
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1600
4
                getOpType(Inst->getType()), Inst->isLifetimeGuaranteed()));
1601
4
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
_ZN5swift9SILClonerINS_13GenericClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Line
Count
Source
1595
262
    ConvertEscapeToNoEscapeInst *Inst) {
1596
262
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1597
262
  recordClonedInstruction(
1598
262
      Inst, getBuilder().createConvertEscapeToNoEscape(
1599
262
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1600
262
                getOpType(Inst->getType()), Inst->isLifetimeGuaranteed()));
1601
262
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
Line
Count
Source
1595
8
    ConvertEscapeToNoEscapeInst *Inst) {
1596
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1597
8
  recordClonedInstruction(
1598
8
      Inst, getBuilder().createConvertEscapeToNoEscape(
1599
8
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1600
8
                getOpType(Inst->getType()), Inst->isLifetimeGuaranteed()));
1601
8
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE32visitConvertEscapeToNoEscapeInstEPNS_27ConvertEscapeToNoEscapeInstE
1602
1603
template<typename ImplClass>
1604
void
1605
4.57k
SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) {
1606
4.57k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1607
4.57k
  recordClonedInstruction(
1608
4.57k
      Inst, getBuilder().createUpcast(
1609
4.57k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1610
4.57k
                getOpType(Inst->getType()),
1611
4.57k
                getBuilder().hasOwnership()
1612
4.57k
                    ? Inst->getForwardingOwnershipKind()
1613
4.57k
                    : ValueOwnershipKind(OwnershipKind::None)));
1614
4.57k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitUpcastInstEPNS_10UpcastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitUpcastInstEPNS_10UpcastInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitUpcastInstEPNS_10UpcastInstE
Line
Count
Source
1605
2
SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) {
1606
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1607
2
  recordClonedInstruction(
1608
2
      Inst, getBuilder().createUpcast(
1609
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1610
2
                getOpType(Inst->getType()),
1611
2
                getBuilder().hasOwnership()
1612
2
                    ? Inst->getForwardingOwnershipKind()
1613
2
                    : ValueOwnershipKind(OwnershipKind::None)));
1614
2
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitUpcastInstEPNS_10UpcastInstE
Line
Count
Source
1605
8
SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) {
1606
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1607
8
  recordClonedInstruction(
1608
8
      Inst, getBuilder().createUpcast(
1609
8
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1610
8
                getOpType(Inst->getType()),
1611
8
                getBuilder().hasOwnership()
1612
8
                    ? Inst->getForwardingOwnershipKind()
1613
8
                    : ValueOwnershipKind(OwnershipKind::None)));
1614
8
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitUpcastInstEPNS_10UpcastInstE
Line
Count
Source
1605
76
SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) {
1606
76
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1607
76
  recordClonedInstruction(
1608
76
      Inst, getBuilder().createUpcast(
1609
76
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1610
76
                getOpType(Inst->getType()),
1611
76
                getBuilder().hasOwnership()
1612
76
                    ? Inst->getForwardingOwnershipKind()
1613
76
                    : ValueOwnershipKind(OwnershipKind::None)));
1614
76
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitUpcastInstEPNS_10UpcastInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitUpcastInstEPNS_10UpcastInstE
Line
Count
Source
1605
37
SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) {
1606
37
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1607
37
  recordClonedInstruction(
1608
37
      Inst, getBuilder().createUpcast(
1609
37
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1610
37
                getOpType(Inst->getType()),
1611
37
                getBuilder().hasOwnership()
1612
37
                    ? Inst->getForwardingOwnershipKind()
1613
37
                    : ValueOwnershipKind(OwnershipKind::None)));
1614
37
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitUpcastInstEPNS_10UpcastInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitUpcastInstEPNS_10UpcastInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitUpcastInstEPNS_10UpcastInstE
Line
Count
Source
1605
6
SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) {
1606
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1607
6
  recordClonedInstruction(
1608
6
      Inst, getBuilder().createUpcast(
1609
6
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1610
6
                getOpType(Inst->getType()),
1611
6
                getBuilder().hasOwnership()
1612
6
                    ? Inst->getForwardingOwnershipKind()
1613
6
                    : ValueOwnershipKind(OwnershipKind::None)));
1614
6
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitUpcastInstEPNS_10UpcastInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitUpcastInstEPNS_10UpcastInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitUpcastInstEPNS_10UpcastInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitUpcastInstEPNS_10UpcastInstE
Line
Count
Source
1605
3
SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) {
1606
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1607
3
  recordClonedInstruction(
1608
3
      Inst, getBuilder().createUpcast(
1609
3
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1610
3
                getOpType(Inst->getType()),
1611
3
                getBuilder().hasOwnership()
1612
3
                    ? Inst->getForwardingOwnershipKind()
1613
3
                    : ValueOwnershipKind(OwnershipKind::None)));
1614
3
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitUpcastInstEPNS_10UpcastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitUpcastInstEPNS_10UpcastInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitUpcastInstEPNS_10UpcastInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitUpcastInstEPNS_10UpcastInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitUpcastInstEPNS_10UpcastInstE
_ZN5swift9SILClonerINS_13GenericClonerEE15visitUpcastInstEPNS_10UpcastInstE
Line
Count
Source
1605
2.28k
SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) {
1606
2.28k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1607
2.28k
  recordClonedInstruction(
1608
2.28k
      Inst, getBuilder().createUpcast(
1609
2.28k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1610
2.28k
                getOpType(Inst->getType()),
1611
2.28k
                getBuilder().hasOwnership()
1612
2.28k
                    ? Inst->getForwardingOwnershipKind()
1613
2.28k
                    : ValueOwnershipKind(OwnershipKind::None)));
1614
2.28k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE15visitUpcastInstEPNS_10UpcastInstE
Line
Count
Source
1605
2.14k
SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) {
1606
2.14k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1607
2.14k
  recordClonedInstruction(
1608
2.14k
      Inst, getBuilder().createUpcast(
1609
2.14k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1610
2.14k
                getOpType(Inst->getType()),
1611
2.14k
                getBuilder().hasOwnership()
1612
2.14k
                    ? Inst->getForwardingOwnershipKind()
1613
2.14k
                    : ValueOwnershipKind(OwnershipKind::None)));
1614
2.14k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitUpcastInstEPNS_10UpcastInstE
Line
Count
Source
1605
2
SILCloner<ImplClass>::visitUpcastInst(UpcastInst *Inst) {
1606
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1607
2
  recordClonedInstruction(
1608
2
      Inst, getBuilder().createUpcast(
1609
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1610
2
                getOpType(Inst->getType()),
1611
2
                getBuilder().hasOwnership()
1612
2
                    ? Inst->getForwardingOwnershipKind()
1613
2
                    : ValueOwnershipKind(OwnershipKind::None)));
1614
2
}
1615
1616
template<typename ImplClass>
1617
void
1618
11.3k
SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) {
1619
11.3k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1620
11.3k
  recordClonedInstruction(
1621
11.3k
      Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()),
1622
11.3k
                                                getOpValue(Inst->getOperand()),
1623
11.3k
                                                getOpType(Inst->getType()),
1624
11.3k
                                                Inst->needsStackProtection()));
1625
11.3k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Line
Count
Source
1618
1
SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) {
1619
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1620
1
  recordClonedInstruction(
1621
1
      Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()),
1622
1
                                                getOpValue(Inst->getOperand()),
1623
1
                                                getOpType(Inst->getType()),
1624
1
                                                Inst->needsStackProtection()));
1625
1
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Line
Count
Source
1618
2
SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) {
1619
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1620
2
  recordClonedInstruction(
1621
2
      Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()),
1622
2
                                                getOpValue(Inst->getOperand()),
1623
2
                                                getOpType(Inst->getType()),
1624
2
                                                Inst->needsStackProtection()));
1625
2
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Line
Count
Source
1618
310
SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) {
1619
310
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1620
310
  recordClonedInstruction(
1621
310
      Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()),
1622
310
                                                getOpValue(Inst->getOperand()),
1623
310
                                                getOpType(Inst->getType()),
1624
310
                                                Inst->needsStackProtection()));
1625
310
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Line
Count
Source
1618
24
SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) {
1619
24
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1620
24
  recordClonedInstruction(
1621
24
      Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()),
1622
24
                                                getOpValue(Inst->getOperand()),
1623
24
                                                getOpType(Inst->getType()),
1624
24
                                                Inst->needsStackProtection()));
1625
24
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
_ZN5swift9SILClonerINS_13GenericClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Line
Count
Source
1618
5.25k
SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) {
1619
5.25k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1620
5.25k
  recordClonedInstruction(
1621
5.25k
      Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()),
1622
5.25k
                                                getOpValue(Inst->getOperand()),
1623
5.25k
                                                getOpType(Inst->getType()),
1624
5.25k
                                                Inst->needsStackProtection()));
1625
5.25k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Line
Count
Source
1618
5.74k
SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) {
1619
5.74k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1620
5.74k
  recordClonedInstruction(
1621
5.74k
      Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()),
1622
5.74k
                                                getOpValue(Inst->getOperand()),
1623
5.74k
                                                getOpType(Inst->getType()),
1624
5.74k
                                                Inst->needsStackProtection()));
1625
5.74k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitAddressToPointerInstEPNS_20AddressToPointerInstE
Line
Count
Source
1618
16
SILCloner<ImplClass>::visitAddressToPointerInst(AddressToPointerInst *Inst) {
1619
16
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1620
16
  recordClonedInstruction(
1621
16
      Inst, getBuilder().createAddressToPointer(getOpLocation(Inst->getLoc()),
1622
16
                                                getOpValue(Inst->getOperand()),
1623
16
                                                getOpType(Inst->getType()),
1624
16
                                                Inst->needsStackProtection()));
1625
16
}
1626
1627
template<typename ImplClass>
1628
void
1629
22.8k
SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) {
1630
22.8k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1631
22.8k
  recordClonedInstruction(
1632
22.8k
      Inst, getBuilder().createPointerToAddress(
1633
22.8k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1634
22.8k
                getOpType(Inst->getType()), Inst->isStrict(),
1635
22.8k
                Inst->isInvariant(), Inst->alignment()));
1636
22.8k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Line
Count
Source
1629
66
SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) {
1630
66
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1631
66
  recordClonedInstruction(
1632
66
      Inst, getBuilder().createPointerToAddress(
1633
66
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1634
66
                getOpType(Inst->getType()), Inst->isStrict(),
1635
66
                Inst->isInvariant(), Inst->alignment()));
1636
66
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Line
Count
Source
1629
16
SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) {
1630
16
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1631
16
  recordClonedInstruction(
1632
16
      Inst, getBuilder().createPointerToAddress(
1633
16
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1634
16
                getOpType(Inst->getType()), Inst->isStrict(),
1635
16
                Inst->isInvariant(), Inst->alignment()));
1636
16
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Line
Count
Source
1629
229
SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) {
1630
229
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1631
229
  recordClonedInstruction(
1632
229
      Inst, getBuilder().createPointerToAddress(
1633
229
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1634
229
                getOpType(Inst->getType()), Inst->isStrict(),
1635
229
                Inst->isInvariant(), Inst->alignment()));
1636
229
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Line
Count
Source
1629
36
SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) {
1630
36
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1631
36
  recordClonedInstruction(
1632
36
      Inst, getBuilder().createPointerToAddress(
1633
36
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1634
36
                getOpType(Inst->getType()), Inst->isStrict(),
1635
36
                Inst->isInvariant(), Inst->alignment()));
1636
36
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Line
Count
Source
1629
2
SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) {
1630
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1631
2
  recordClonedInstruction(
1632
2
      Inst, getBuilder().createPointerToAddress(
1633
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1634
2
                getOpType(Inst->getType()), Inst->isStrict(),
1635
2
                Inst->isInvariant(), Inst->alignment()));
1636
2
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Line
Count
Source
1629
7
SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) {
1630
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1631
7
  recordClonedInstruction(
1632
7
      Inst, getBuilder().createPointerToAddress(
1633
7
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1634
7
                getOpType(Inst->getType()), Inst->isStrict(),
1635
7
                Inst->isInvariant(), Inst->alignment()));
1636
7
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
_ZN5swift9SILClonerINS_13GenericClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Line
Count
Source
1629
2.36k
SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) {
1630
2.36k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1631
2.36k
  recordClonedInstruction(
1632
2.36k
      Inst, getBuilder().createPointerToAddress(
1633
2.36k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1634
2.36k
                getOpType(Inst->getType()), Inst->isStrict(),
1635
2.36k
                Inst->isInvariant(), Inst->alignment()));
1636
2.36k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Line
Count
Source
1629
20.0k
SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) {
1630
20.0k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1631
20.0k
  recordClonedInstruction(
1632
20.0k
      Inst, getBuilder().createPointerToAddress(
1633
20.0k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1634
20.0k
                getOpType(Inst->getType()), Inst->isStrict(),
1635
20.0k
                Inst->isInvariant(), Inst->alignment()));
1636
20.0k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitPointerToAddressInstEPNS_20PointerToAddressInstE
Line
Count
Source
1629
43
SILCloner<ImplClass>::visitPointerToAddressInst(PointerToAddressInst *Inst) {
1630
43
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1631
43
  recordClonedInstruction(
1632
43
      Inst, getBuilder().createPointerToAddress(
1633
43
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1634
43
                getOpType(Inst->getType()), Inst->isStrict(),
1635
43
                Inst->isInvariant(), Inst->alignment()));
1636
43
}
1637
1638
template<typename ImplClass>
1639
void
1640
SILCloner<ImplClass>::
1641
10.8k
visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) {
1642
10.8k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1643
10.8k
  recordClonedInstruction(
1644
10.8k
      Inst, getBuilder().createUncheckedRefCast(
1645
10.8k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1646
10.8k
                getOpType(Inst->getType()),
1647
10.8k
                getBuilder().hasOwnership()
1648
10.8k
                    ? Inst->getForwardingOwnershipKind()
1649
10.8k
                    : ValueOwnershipKind(OwnershipKind::None)));
1650
10.8k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Line
Count
Source
1641
2
visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) {
1642
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1643
2
  recordClonedInstruction(
1644
2
      Inst, getBuilder().createUncheckedRefCast(
1645
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1646
2
                getOpType(Inst->getType()),
1647
2
                getBuilder().hasOwnership()
1648
2
                    ? Inst->getForwardingOwnershipKind()
1649
2
                    : ValueOwnershipKind(OwnershipKind::None)));
1650
2
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Line
Count
Source
1641
23
visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) {
1642
23
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1643
23
  recordClonedInstruction(
1644
23
      Inst, getBuilder().createUncheckedRefCast(
1645
23
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1646
23
                getOpType(Inst->getType()),
1647
23
                getBuilder().hasOwnership()
1648
23
                    ? Inst->getForwardingOwnershipKind()
1649
23
                    : ValueOwnershipKind(OwnershipKind::None)));
1650
23
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Line
Count
Source
1641
199
visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) {
1642
199
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1643
199
  recordClonedInstruction(
1644
199
      Inst, getBuilder().createUncheckedRefCast(
1645
199
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1646
199
                getOpType(Inst->getType()),
1647
199
                getBuilder().hasOwnership()
1648
199
                    ? Inst->getForwardingOwnershipKind()
1649
199
                    : ValueOwnershipKind(OwnershipKind::None)));
1650
199
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Line
Count
Source
1641
3
visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) {
1642
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1643
3
  recordClonedInstruction(
1644
3
      Inst, getBuilder().createUncheckedRefCast(
1645
3
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1646
3
                getOpType(Inst->getType()),
1647
3
                getBuilder().hasOwnership()
1648
3
                    ? Inst->getForwardingOwnershipKind()
1649
3
                    : ValueOwnershipKind(OwnershipKind::None)));
1650
3
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Line
Count
Source
1641
4
visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) {
1642
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1643
4
  recordClonedInstruction(
1644
4
      Inst, getBuilder().createUncheckedRefCast(
1645
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1646
4
                getOpType(Inst->getType()),
1647
4
                getBuilder().hasOwnership()
1648
4
                    ? Inst->getForwardingOwnershipKind()
1649
4
                    : ValueOwnershipKind(OwnershipKind::None)));
1650
4
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
_ZN5swift9SILClonerINS_13GenericClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Line
Count
Source
1641
5.08k
visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) {
1642
5.08k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1643
5.08k
  recordClonedInstruction(
1644
5.08k
      Inst, getBuilder().createUncheckedRefCast(
1645
5.08k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1646
5.08k
                getOpType(Inst->getType()),
1647
5.08k
                getBuilder().hasOwnership()
1648
5.08k
                    ? Inst->getForwardingOwnershipKind()
1649
5.08k
                    : ValueOwnershipKind(OwnershipKind::None)));
1650
5.08k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Line
Count
Source
1641
5.57k
visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) {
1642
5.57k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1643
5.57k
  recordClonedInstruction(
1644
5.57k
      Inst, getBuilder().createUncheckedRefCast(
1645
5.57k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1646
5.57k
                getOpType(Inst->getType()),
1647
5.57k
                getBuilder().hasOwnership()
1648
5.57k
                    ? Inst->getForwardingOwnershipKind()
1649
5.57k
                    : ValueOwnershipKind(OwnershipKind::None)));
1650
5.57k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitUncheckedRefCastInstEPNS_20UncheckedRefCastInstE
Line
Count
Source
1641
4
visitUncheckedRefCastInst(UncheckedRefCastInst *Inst) {
1642
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1643
4
  recordClonedInstruction(
1644
4
      Inst, getBuilder().createUncheckedRefCast(
1645
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1646
4
                getOpType(Inst->getType()),
1647
4
                getBuilder().hasOwnership()
1648
4
                    ? Inst->getForwardingOwnershipKind()
1649
4
                    : ValueOwnershipKind(OwnershipKind::None)));
1650
4
}
1651
1652
template<typename ImplClass>
1653
void
1654
SILCloner<ImplClass>::
1655
0
visitUncheckedRefCastAddrInst(UncheckedRefCastAddrInst *Inst) {
1656
0
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1657
0
  SILValue SrcValue = getOpValue(Inst->getSrc());
1658
0
  SILValue DestValue = getOpValue(Inst->getDest());
1659
0
  CanType SrcType = getOpASTType(Inst->getSourceFormalType());
1660
0
  CanType TargetType = getOpASTType(Inst->getTargetFormalType());
1661
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1662
0
  recordClonedInstruction(
1663
0
      Inst, getBuilder().createUncheckedRefCastAddr(OpLoc, SrcValue, SrcType,
1664
0
                                                    DestValue, TargetType));
1665
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitUncheckedRefCastAddrInstEPNS_24UncheckedRefCastAddrInstE
1666
1667
template<typename ImplClass>
1668
void
1669
SILCloner<ImplClass>::
1670
2.01k
visitUncheckedAddrCastInst(UncheckedAddrCastInst *Inst) {
1671
2.01k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1672
2.01k
  recordClonedInstruction(
1673
2.01k
      Inst, getBuilder().createUncheckedAddrCast(getOpLocation(Inst->getLoc()),
1674
2.01k
                                                 getOpValue(Inst->getOperand()),
1675
2.01k
                                                 getOpType(Inst->getType())));
1676
2.01k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Line
Count
Source
1670
5
visitUncheckedAddrCastInst(UncheckedAddrCastInst *Inst) {
1671
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1672
5
  recordClonedInstruction(
1673
5
      Inst, getBuilder().createUncheckedAddrCast(getOpLocation(Inst->getLoc()),
1674
5
                                                 getOpValue(Inst->getOperand()),
1675
5
                                                 getOpType(Inst->getType())));
1676
5
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Line
Count
Source
1670
18
visitUncheckedAddrCastInst(UncheckedAddrCastInst *Inst) {
1671
18
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1672
18
  recordClonedInstruction(
1673
18
      Inst, getBuilder().createUncheckedAddrCast(getOpLocation(Inst->getLoc()),
1674
18
                                                 getOpValue(Inst->getOperand()),
1675
18
                                                 getOpType(Inst->getType())));
1676
18
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
_ZN5swift9SILClonerINS_13GenericClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Line
Count
Source
1670
1.31k
visitUncheckedAddrCastInst(UncheckedAddrCastInst *Inst) {
1671
1.31k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1672
1.31k
  recordClonedInstruction(
1673
1.31k
      Inst, getBuilder().createUncheckedAddrCast(getOpLocation(Inst->getLoc()),
1674
1.31k
                                                 getOpValue(Inst->getOperand()),
1675
1.31k
                                                 getOpType(Inst->getType())));
1676
1.31k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
Line
Count
Source
1670
677
visitUncheckedAddrCastInst(UncheckedAddrCastInst *Inst) {
1671
677
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1672
677
  recordClonedInstruction(
1673
677
      Inst, getBuilder().createUncheckedAddrCast(getOpLocation(Inst->getLoc()),
1674
677
                                                 getOpValue(Inst->getOperand()),
1675
677
                                                 getOpType(Inst->getType())));
1676
677
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitUncheckedAddrCastInstEPNS_21UncheckedAddrCastInstE
1677
1678
template<typename ImplClass>
1679
void
1680
SILCloner<ImplClass>::
1681
24.7k
visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) {
1682
24.7k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1683
24.7k
  recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast(
1684
24.7k
                                    getOpLocation(Inst->getLoc()),
1685
24.7k
                                    getOpValue(Inst->getOperand()),
1686
24.7k
                                    getOpType(Inst->getType())));
1687
24.7k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Line
Count
Source
1681
105
visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) {
1682
105
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1683
105
  recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast(
1684
105
                                    getOpLocation(Inst->getLoc()),
1685
105
                                    getOpValue(Inst->getOperand()),
1686
105
                                    getOpType(Inst->getType())));
1687
105
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Line
Count
Source
1681
2
visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) {
1682
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1683
2
  recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast(
1684
2
                                    getOpLocation(Inst->getLoc()),
1685
2
                                    getOpValue(Inst->getOperand()),
1686
2
                                    getOpType(Inst->getType())));
1687
2
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Line
Count
Source
1681
229
visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) {
1682
229
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1683
229
  recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast(
1684
229
                                    getOpLocation(Inst->getLoc()),
1685
229
                                    getOpValue(Inst->getOperand()),
1686
229
                                    getOpType(Inst->getType())));
1687
229
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Line
Count
Source
1681
2
visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) {
1682
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1683
2
  recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast(
1684
2
                                    getOpLocation(Inst->getLoc()),
1685
2
                                    getOpValue(Inst->getOperand()),
1686
2
                                    getOpType(Inst->getType())));
1687
2
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Line
Count
Source
1681
10
visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) {
1682
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1683
10
  recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast(
1684
10
                                    getOpLocation(Inst->getLoc()),
1685
10
                                    getOpValue(Inst->getOperand()),
1686
10
                                    getOpType(Inst->getType())));
1687
10
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Line
Count
Source
1681
3
visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) {
1682
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1683
3
  recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast(
1684
3
                                    getOpLocation(Inst->getLoc()),
1685
3
                                    getOpValue(Inst->getOperand()),
1686
3
                                    getOpType(Inst->getType())));
1687
3
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
_ZN5swift9SILClonerINS_13GenericClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Line
Count
Source
1681
1.46k
visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) {
1682
1.46k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1683
1.46k
  recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast(
1684
1.46k
                                    getOpLocation(Inst->getLoc()),
1685
1.46k
                                    getOpValue(Inst->getOperand()),
1686
1.46k
                                    getOpType(Inst->getType())));
1687
1.46k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Line
Count
Source
1681
22.9k
visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) {
1682
22.9k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1683
22.9k
  recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast(
1684
22.9k
                                    getOpLocation(Inst->getLoc()),
1685
22.9k
                                    getOpValue(Inst->getOperand()),
1686
22.9k
                                    getOpType(Inst->getType())));
1687
22.9k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE32visitUncheckedTrivialBitCastInstEPNS_27UncheckedTrivialBitCastInstE
Line
Count
Source
1681
1
visitUncheckedTrivialBitCastInst(UncheckedTrivialBitCastInst *Inst) {
1682
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1683
1
  recordClonedInstruction(Inst, getBuilder().createUncheckedTrivialBitCast(
1684
1
                                    getOpLocation(Inst->getLoc()),
1685
1
                                    getOpValue(Inst->getOperand()),
1686
1
                                    getOpType(Inst->getType())));
1687
1
}
1688
1689
template<typename ImplClass>
1690
void
1691
SILCloner<ImplClass>::
1692
2.56k
visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) {
1693
2.56k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1694
2.56k
  recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast(
1695
2.56k
                                    getOpLocation(Inst->getLoc()),
1696
2.56k
                                    getOpValue(Inst->getOperand()),
1697
2.56k
                                    getOpType(Inst->getType())));
1698
2.56k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Line
Count
Source
1692
90
visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) {
1693
90
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1694
90
  recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast(
1695
90
                                    getOpLocation(Inst->getLoc()),
1696
90
                                    getOpValue(Inst->getOperand()),
1697
90
                                    getOpType(Inst->getType())));
1698
90
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Line
Count
Source
1692
25
visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) {
1693
25
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1694
25
  recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast(
1695
25
                                    getOpLocation(Inst->getLoc()),
1696
25
                                    getOpValue(Inst->getOperand()),
1697
25
                                    getOpType(Inst->getType())));
1698
25
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Line
Count
Source
1692
6
visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) {
1693
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1694
6
  recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast(
1695
6
                                    getOpLocation(Inst->getLoc()),
1696
6
                                    getOpValue(Inst->getOperand()),
1697
6
                                    getOpType(Inst->getType())));
1698
6
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
_ZN5swift9SILClonerINS_13GenericClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Line
Count
Source
1692
931
visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) {
1693
931
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1694
931
  recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast(
1695
931
                                    getOpLocation(Inst->getLoc()),
1696
931
                                    getOpValue(Inst->getOperand()),
1697
931
                                    getOpType(Inst->getType())));
1698
931
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
Line
Count
Source
1692
1.50k
visitUncheckedBitwiseCastInst(UncheckedBitwiseCastInst *Inst) {
1693
1.50k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1694
1.50k
  recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast(
1695
1.50k
                                    getOpLocation(Inst->getLoc()),
1696
1.50k
                                    getOpValue(Inst->getOperand()),
1697
1.50k
                                    getOpType(Inst->getType())));
1698
1.50k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitUncheckedBitwiseCastInstEPNS_24UncheckedBitwiseCastInstE
1699
1700
template <typename ImplClass>
1701
void SILCloner<ImplClass>::visitUncheckedValueCastInst(
1702
0
    UncheckedValueCastInst *Inst) {
1703
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1704
0
  if (!getBuilder().hasOwnership()) {
1705
0
    recordClonedInstruction(Inst, getBuilder().createUncheckedBitwiseCast(
1706
0
                                      getOpLocation(Inst->getLoc()),
1707
0
                                      getOpValue(Inst->getOperand()),
1708
0
                                      getOpType(Inst->getType())));
1709
0
    return;
1710
0
  }
1711
0
  recordClonedInstruction(
1712
0
      Inst, getBuilder().createUncheckedValueCast(
1713
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1714
0
                getOpType(Inst->getType()),
1715
0
                getBuilder().hasOwnership()
1716
0
                    ? Inst->getForwardingOwnershipKind()
1717
0
                    : ValueOwnershipKind(OwnershipKind::None)));
1718
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitUncheckedValueCastInstEPNS_22UncheckedValueCastInstE
1719
1720
template<typename ImplClass>
1721
void
1722
SILCloner<ImplClass>::
1723
2
visitRefToBridgeObjectInst(RefToBridgeObjectInst *Inst) {
1724
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1725
2
  recordClonedInstruction(
1726
2
      Inst, getBuilder().createRefToBridgeObject(
1727
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand(0)),
1728
2
                getOpValue(Inst->getBitsOperand()),
1729
2
                getBuilder().hasOwnership()
1730
2
                    ? Inst->getForwardingOwnershipKind()
1731
2
                    : ValueOwnershipKind(OwnershipKind::None)));
1732
2
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
_ZN5swift9SILClonerINS_13GenericClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Line
Count
Source
1723
1
visitRefToBridgeObjectInst(RefToBridgeObjectInst *Inst) {
1724
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1725
1
  recordClonedInstruction(
1726
1
      Inst, getBuilder().createRefToBridgeObject(
1727
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand(0)),
1728
1
                getOpValue(Inst->getBitsOperand()),
1729
1
                getBuilder().hasOwnership()
1730
1
                    ? Inst->getForwardingOwnershipKind()
1731
1
                    : ValueOwnershipKind(OwnershipKind::None)));
1732
1
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
Line
Count
Source
1723
1
visitRefToBridgeObjectInst(RefToBridgeObjectInst *Inst) {
1724
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1725
1
  recordClonedInstruction(
1726
1
      Inst, getBuilder().createRefToBridgeObject(
1727
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand(0)),
1728
1
                getOpValue(Inst->getBitsOperand()),
1729
1
                getBuilder().hasOwnership()
1730
1
                    ? Inst->getForwardingOwnershipKind()
1731
1
                    : ValueOwnershipKind(OwnershipKind::None)));
1732
1
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitRefToBridgeObjectInstEPNS_21RefToBridgeObjectInstE
1733
1734
template<typename ImplClass>
1735
void
1736
SILCloner<ImplClass>::
1737
4.50k
visitBridgeObjectToRefInst(BridgeObjectToRefInst *Inst) {
1738
4.50k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1739
4.50k
  recordClonedInstruction(
1740
4.50k
      Inst, getBuilder().createBridgeObjectToRef(
1741
4.50k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1742
4.50k
                getOpType(Inst->getType()),
1743
4.50k
                getBuilder().hasOwnership()
1744
4.50k
                    ? Inst->getForwardingOwnershipKind()
1745
4.50k
                    : ValueOwnershipKind(OwnershipKind::None)));
1746
4.50k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Line
Count
Source
1737
6
visitBridgeObjectToRefInst(BridgeObjectToRefInst *Inst) {
1738
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1739
6
  recordClonedInstruction(
1740
6
      Inst, getBuilder().createBridgeObjectToRef(
1741
6
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1742
6
                getOpType(Inst->getType()),
1743
6
                getBuilder().hasOwnership()
1744
6
                    ? Inst->getForwardingOwnershipKind()
1745
6
                    : ValueOwnershipKind(OwnershipKind::None)));
1746
6
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Line
Count
Source
1737
1
visitBridgeObjectToRefInst(BridgeObjectToRefInst *Inst) {
1738
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1739
1
  recordClonedInstruction(
1740
1
      Inst, getBuilder().createBridgeObjectToRef(
1741
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1742
1
                getOpType(Inst->getType()),
1743
1
                getBuilder().hasOwnership()
1744
1
                    ? Inst->getForwardingOwnershipKind()
1745
1
                    : ValueOwnershipKind(OwnershipKind::None)));
1746
1
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
_ZN5swift9SILClonerINS_13GenericClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Line
Count
Source
1737
4.00k
visitBridgeObjectToRefInst(BridgeObjectToRefInst *Inst) {
1738
4.00k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1739
4.00k
  recordClonedInstruction(
1740
4.00k
      Inst, getBuilder().createBridgeObjectToRef(
1741
4.00k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1742
4.00k
                getOpType(Inst->getType()),
1743
4.00k
                getBuilder().hasOwnership()
1744
4.00k
                    ? Inst->getForwardingOwnershipKind()
1745
4.00k
                    : ValueOwnershipKind(OwnershipKind::None)));
1746
4.00k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
Line
Count
Source
1737
498
visitBridgeObjectToRefInst(BridgeObjectToRefInst *Inst) {
1738
498
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1739
498
  recordClonedInstruction(
1740
498
      Inst, getBuilder().createBridgeObjectToRef(
1741
498
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1742
498
                getOpType(Inst->getType()),
1743
498
                getBuilder().hasOwnership()
1744
498
                    ? Inst->getForwardingOwnershipKind()
1745
498
                    : ValueOwnershipKind(OwnershipKind::None)));
1746
498
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitBridgeObjectToRefInstEPNS_21BridgeObjectToRefInstE
1747
1748
template<typename ImplClass>
1749
void
1750
SILCloner<ImplClass>::
1751
8.38k
visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) {
1752
8.38k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1753
8.38k
  recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord(
1754
8.38k
                                    getOpLocation(Inst->getLoc()),
1755
8.38k
                                    getOpValue(Inst->getOperand()),
1756
8.38k
                                    getOpType(Inst->getType())));
1757
8.38k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Line
Count
Source
1751
8
visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) {
1752
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1753
8
  recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord(
1754
8
                                    getOpLocation(Inst->getLoc()),
1755
8
                                    getOpValue(Inst->getOperand()),
1756
8
                                    getOpType(Inst->getType())));
1757
8
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Line
Count
Source
1751
107
visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) {
1752
107
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1753
107
  recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord(
1754
107
                                    getOpLocation(Inst->getLoc()),
1755
107
                                    getOpValue(Inst->getOperand()),
1756
107
                                    getOpType(Inst->getType())));
1757
107
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
_ZN5swift9SILClonerINS_13GenericClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Line
Count
Source
1751
4.89k
visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) {
1752
4.89k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1753
4.89k
  recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord(
1754
4.89k
                                    getOpLocation(Inst->getLoc()),
1755
4.89k
                                    getOpValue(Inst->getOperand()),
1756
4.89k
                                    getOpType(Inst->getType())));
1757
4.89k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Line
Count
Source
1751
3.37k
visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) {
1752
3.37k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1753
3.37k
  recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord(
1754
3.37k
                                    getOpLocation(Inst->getLoc()),
1755
3.37k
                                    getOpValue(Inst->getOperand()),
1756
3.37k
                                    getOpType(Inst->getType())));
1757
3.37k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitBridgeObjectToWordInstEPNS_22BridgeObjectToWordInstE
Line
Count
Source
1751
3
visitBridgeObjectToWordInst(BridgeObjectToWordInst *Inst) {
1752
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1753
3
  recordClonedInstruction(Inst, getBuilder().createBridgeObjectToWord(
1754
3
                                    getOpLocation(Inst->getLoc()),
1755
3
                                    getOpValue(Inst->getOperand()),
1756
3
                                    getOpType(Inst->getType())));
1757
3
}
1758
1759
template<typename ImplClass>
1760
void
1761
1.59k
SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) {
1762
1.59k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1763
1.59k
  recordClonedInstruction(
1764
1.59k
      Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()),
1765
1.59k
                                               getOpValue(Inst->getOperand()),
1766
1.59k
                                               getOpType(Inst->getType())));
1767
1.59k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Line
Count
Source
1761
58
SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) {
1762
58
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1763
58
  recordClonedInstruction(
1764
58
      Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()),
1765
58
                                               getOpValue(Inst->getOperand()),
1766
58
                                               getOpType(Inst->getType())));
1767
58
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Line
Count
Source
1761
4
SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) {
1762
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1763
4
  recordClonedInstruction(
1764
4
      Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()),
1765
4
                                               getOpValue(Inst->getOperand()),
1766
4
                                               getOpType(Inst->getType())));
1767
4
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Line
Count
Source
1761
6
SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) {
1762
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1763
6
  recordClonedInstruction(
1764
6
      Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()),
1765
6
                                               getOpValue(Inst->getOperand()),
1766
6
                                               getOpType(Inst->getType())));
1767
6
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
_ZN5swift9SILClonerINS_13GenericClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Line
Count
Source
1761
725
SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) {
1762
725
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1763
725
  recordClonedInstruction(
1764
725
      Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()),
1765
725
                                               getOpValue(Inst->getOperand()),
1766
725
                                               getOpType(Inst->getType())));
1767
725
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Line
Count
Source
1761
790
SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) {
1762
790
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1763
790
  recordClonedInstruction(
1764
790
      Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()),
1765
790
                                               getOpValue(Inst->getOperand()),
1766
790
                                               getOpType(Inst->getType())));
1767
790
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitRefToRawPointerInstEPNS_19RefToRawPointerInstE
Line
Count
Source
1761
13
SILCloner<ImplClass>::visitRefToRawPointerInst(RefToRawPointerInst *Inst) {
1762
13
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1763
13
  recordClonedInstruction(
1764
13
      Inst, getBuilder().createRefToRawPointer(getOpLocation(Inst->getLoc()),
1765
13
                                               getOpValue(Inst->getOperand()),
1766
13
                                               getOpType(Inst->getType())));
1767
13
}
1768
1769
template <typename ImplClass>
1770
void SILCloner<ImplClass>::visitValueToBridgeObjectInst(
1771
27.6k
    ValueToBridgeObjectInst *Inst) {
1772
27.6k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1773
27.6k
  recordClonedInstruction(
1774
27.6k
      Inst, getBuilder().createValueToBridgeObject(
1775
27.6k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
1776
27.6k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Line
Count
Source
1771
4
    ValueToBridgeObjectInst *Inst) {
1772
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1773
4
  recordClonedInstruction(
1774
4
      Inst, getBuilder().createValueToBridgeObject(
1775
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
1776
4
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Line
Count
Source
1771
98
    ValueToBridgeObjectInst *Inst) {
1772
98
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1773
98
  recordClonedInstruction(
1774
98
      Inst, getBuilder().createValueToBridgeObject(
1775
98
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
1776
98
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Line
Count
Source
1771
85
    ValueToBridgeObjectInst *Inst) {
1772
85
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1773
85
  recordClonedInstruction(
1774
85
      Inst, getBuilder().createValueToBridgeObject(
1775
85
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
1776
85
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
_ZN5swift9SILClonerINS_13GenericClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Line
Count
Source
1771
69
    ValueToBridgeObjectInst *Inst) {
1772
69
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1773
69
  recordClonedInstruction(
1774
69
      Inst, getBuilder().createValueToBridgeObject(
1775
69
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
1776
69
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
Line
Count
Source
1771
27.4k
    ValueToBridgeObjectInst *Inst) {
1772
27.4k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1773
27.4k
  recordClonedInstruction(
1774
27.4k
      Inst, getBuilder().createValueToBridgeObject(
1775
27.4k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
1776
27.4k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitValueToBridgeObjectInstEPNS_23ValueToBridgeObjectInstE
1777
1778
template<typename ImplClass>
1779
void
1780
2.17k
SILCloner<ImplClass>::visitRawPointerToRefInst(RawPointerToRefInst *Inst) {
1781
2.17k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1782
2.17k
  recordClonedInstruction(
1783
2.17k
      Inst, getBuilder().createRawPointerToRef(getOpLocation(Inst->getLoc()),
1784
2.17k
                                               getOpValue(Inst->getOperand()),
1785
2.17k
                                               getOpType(Inst->getType())));
1786
2.17k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Line
Count
Source
1780
1
SILCloner<ImplClass>::visitRawPointerToRefInst(RawPointerToRefInst *Inst) {
1781
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1782
1
  recordClonedInstruction(
1783
1
      Inst, getBuilder().createRawPointerToRef(getOpLocation(Inst->getLoc()),
1784
1
                                               getOpValue(Inst->getOperand()),
1785
1
                                               getOpType(Inst->getType())));
1786
1
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Line
Count
Source
1780
44
SILCloner<ImplClass>::visitRawPointerToRefInst(RawPointerToRefInst *Inst) {
1781
44
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1782
44
  recordClonedInstruction(
1783
44
      Inst, getBuilder().createRawPointerToRef(getOpLocation(Inst->getLoc()),
1784
44
                                               getOpValue(Inst->getOperand()),
1785
44
                                               getOpType(Inst->getType())));
1786
44
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
_ZN5swift9SILClonerINS_13GenericClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Line
Count
Source
1780
1.05k
SILCloner<ImplClass>::visitRawPointerToRefInst(RawPointerToRefInst *Inst) {
1781
1.05k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1782
1.05k
  recordClonedInstruction(
1783
1.05k
      Inst, getBuilder().createRawPointerToRef(getOpLocation(Inst->getLoc()),
1784
1.05k
                                               getOpValue(Inst->getOperand()),
1785
1.05k
                                               getOpType(Inst->getType())));
1786
1.05k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
Line
Count
Source
1780
1.07k
SILCloner<ImplClass>::visitRawPointerToRefInst(RawPointerToRefInst *Inst) {
1781
1.07k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1782
1.07k
  recordClonedInstruction(
1783
1.07k
      Inst, getBuilder().createRawPointerToRef(getOpLocation(Inst->getLoc()),
1784
1.07k
                                               getOpValue(Inst->getOperand()),
1785
1.07k
                                               getOpType(Inst->getType())));
1786
1.07k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitRawPointerToRefInstEPNS_19RawPointerToRefInstE
1787
1788
template<typename ImplClass>
1789
void
1790
SILCloner<ImplClass>::
1791
1.10k
visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) {
1792
1.10k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1793
1.10k
  recordClonedInstruction(
1794
1.10k
      Inst, getBuilder().createThinToThickFunction(
1795
1.10k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1796
1.10k
                getOpType(Inst->getType()),
1797
1.10k
                getBuilder().hasOwnership()
1798
1.10k
                    ? Inst->getForwardingOwnershipKind()
1799
1.10k
                    : ValueOwnershipKind(OwnershipKind::None)));
1800
1.10k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Line
Count
Source
1791
21
visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) {
1792
21
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1793
21
  recordClonedInstruction(
1794
21
      Inst, getBuilder().createThinToThickFunction(
1795
21
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1796
21
                getOpType(Inst->getType()),
1797
21
                getBuilder().hasOwnership()
1798
21
                    ? Inst->getForwardingOwnershipKind()
1799
21
                    : ValueOwnershipKind(OwnershipKind::None)));
1800
21
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Line
Count
Source
1791
47
visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) {
1792
47
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1793
47
  recordClonedInstruction(
1794
47
      Inst, getBuilder().createThinToThickFunction(
1795
47
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1796
47
                getOpType(Inst->getType()),
1797
47
                getBuilder().hasOwnership()
1798
47
                    ? Inst->getForwardingOwnershipKind()
1799
47
                    : ValueOwnershipKind(OwnershipKind::None)));
1800
47
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Line
Count
Source
1791
4
visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) {
1792
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1793
4
  recordClonedInstruction(
1794
4
      Inst, getBuilder().createThinToThickFunction(
1795
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1796
4
                getOpType(Inst->getType()),
1797
4
                getBuilder().hasOwnership()
1798
4
                    ? Inst->getForwardingOwnershipKind()
1799
4
                    : ValueOwnershipKind(OwnershipKind::None)));
1800
4
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Line
Count
Source
1791
68
visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) {
1792
68
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1793
68
  recordClonedInstruction(
1794
68
      Inst, getBuilder().createThinToThickFunction(
1795
68
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1796
68
                getOpType(Inst->getType()),
1797
68
                getBuilder().hasOwnership()
1798
68
                    ? Inst->getForwardingOwnershipKind()
1799
68
                    : ValueOwnershipKind(OwnershipKind::None)));
1800
68
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Line
Count
Source
1791
1
visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) {
1792
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1793
1
  recordClonedInstruction(
1794
1
      Inst, getBuilder().createThinToThickFunction(
1795
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1796
1
                getOpType(Inst->getType()),
1797
1
                getBuilder().hasOwnership()
1798
1
                    ? Inst->getForwardingOwnershipKind()
1799
1
                    : ValueOwnershipKind(OwnershipKind::None)));
1800
1
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Line
Count
Source
1791
77
visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) {
1792
77
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1793
77
  recordClonedInstruction(
1794
77
      Inst, getBuilder().createThinToThickFunction(
1795
77
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1796
77
                getOpType(Inst->getType()),
1797
77
                getBuilder().hasOwnership()
1798
77
                    ? Inst->getForwardingOwnershipKind()
1799
77
                    : ValueOwnershipKind(OwnershipKind::None)));
1800
77
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Line
Count
Source
1791
1
visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) {
1792
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1793
1
  recordClonedInstruction(
1794
1
      Inst, getBuilder().createThinToThickFunction(
1795
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1796
1
                getOpType(Inst->getType()),
1797
1
                getBuilder().hasOwnership()
1798
1
                    ? Inst->getForwardingOwnershipKind()
1799
1
                    : ValueOwnershipKind(OwnershipKind::None)));
1800
1
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
_ZN5swift9SILClonerINS_13GenericClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Line
Count
Source
1791
106
visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) {
1792
106
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1793
106
  recordClonedInstruction(
1794
106
      Inst, getBuilder().createThinToThickFunction(
1795
106
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1796
106
                getOpType(Inst->getType()),
1797
106
                getBuilder().hasOwnership()
1798
106
                    ? Inst->getForwardingOwnershipKind()
1799
106
                    : ValueOwnershipKind(OwnershipKind::None)));
1800
106
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
Line
Count
Source
1791
783
visitThinToThickFunctionInst(ThinToThickFunctionInst *Inst) {
1792
783
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1793
783
  recordClonedInstruction(
1794
783
      Inst, getBuilder().createThinToThickFunction(
1795
783
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1796
783
                getOpType(Inst->getType()),
1797
783
                getBuilder().hasOwnership()
1798
783
                    ? Inst->getForwardingOwnershipKind()
1799
783
                    : ValueOwnershipKind(OwnershipKind::None)));
1800
783
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitThinToThickFunctionInstEPNS_23ThinToThickFunctionInstE
1801
1802
template<typename ImplClass>
1803
void
1804
SILCloner<ImplClass>::
1805
25
visitThickToObjCMetatypeInst(ThickToObjCMetatypeInst *Inst) {
1806
25
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1807
25
  recordClonedInstruction(Inst, getBuilder().createThickToObjCMetatype(
1808
25
                                    getOpLocation(Inst->getLoc()),
1809
25
                                    getOpValue(Inst->getOperand()),
1810
25
                                    getOpType(Inst->getType())));
1811
25
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
Line
Count
Source
1805
25
visitThickToObjCMetatypeInst(ThickToObjCMetatypeInst *Inst) {
1806
25
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1807
25
  recordClonedInstruction(Inst, getBuilder().createThickToObjCMetatype(
1808
25
                                    getOpLocation(Inst->getLoc()),
1809
25
                                    getOpValue(Inst->getOperand()),
1810
25
                                    getOpType(Inst->getType())));
1811
25
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitThickToObjCMetatypeInstEPNS_23ThickToObjCMetatypeInstE
1812
1813
template<typename ImplClass>
1814
void
1815
SILCloner<ImplClass>::
1816
0
visitObjCToThickMetatypeInst(ObjCToThickMetatypeInst *Inst) {
1817
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1818
0
  recordClonedInstruction(Inst, getBuilder().createObjCToThickMetatype(
1819
0
                                    getOpLocation(Inst->getLoc()),
1820
0
                                    getOpValue(Inst->getOperand()),
1821
0
                                    getOpType(Inst->getType())));
1822
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitObjCToThickMetatypeInstEPNS_23ObjCToThickMetatypeInstE
1823
1824
template<typename ImplClass>
1825
void
1826
SILCloner<ImplClass>::visitUnconditionalCheckedCastInst(
1827
364
                                          UnconditionalCheckedCastInst *Inst) {
1828
364
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1829
364
  SILValue OpValue = getOpValue(Inst->getOperand());
1830
364
  SILType OpLoweredType = getOpType(Inst->getTargetLoweredType());
1831
364
  CanType OpFormalType = getOpASTType(Inst->getTargetFormalType());
1832
364
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1833
364
  recordClonedInstruction(Inst,
1834
364
                          getBuilder().createUnconditionalCheckedCast(
1835
364
                              OpLoc, OpValue, OpLoweredType, OpFormalType,
1836
364
                              getBuilder().hasOwnership()
1837
364
                                  ? Inst->getForwardingOwnershipKind()
1838
364
                                  : ValueOwnershipKind(OwnershipKind::None)));
1839
364
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Line
Count
Source
1827
21
                                          UnconditionalCheckedCastInst *Inst) {
1828
21
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1829
21
  SILValue OpValue = getOpValue(Inst->getOperand());
1830
21
  SILType OpLoweredType = getOpType(Inst->getTargetLoweredType());
1831
21
  CanType OpFormalType = getOpASTType(Inst->getTargetFormalType());
1832
21
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1833
21
  recordClonedInstruction(Inst,
1834
21
                          getBuilder().createUnconditionalCheckedCast(
1835
21
                              OpLoc, OpValue, OpLoweredType, OpFormalType,
1836
21
                              getBuilder().hasOwnership()
1837
21
                                  ? Inst->getForwardingOwnershipKind()
1838
21
                                  : ValueOwnershipKind(OwnershipKind::None)));
1839
21
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Line
Count
Source
1827
6
                                          UnconditionalCheckedCastInst *Inst) {
1828
6
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1829
6
  SILValue OpValue = getOpValue(Inst->getOperand());
1830
6
  SILType OpLoweredType = getOpType(Inst->getTargetLoweredType());
1831
6
  CanType OpFormalType = getOpASTType(Inst->getTargetFormalType());
1832
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1833
6
  recordClonedInstruction(Inst,
1834
6
                          getBuilder().createUnconditionalCheckedCast(
1835
6
                              OpLoc, OpValue, OpLoweredType, OpFormalType,
1836
6
                              getBuilder().hasOwnership()
1837
6
                                  ? Inst->getForwardingOwnershipKind()
1838
6
                                  : ValueOwnershipKind(OwnershipKind::None)));
1839
6
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Line
Count
Source
1827
2
                                          UnconditionalCheckedCastInst *Inst) {
1828
2
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1829
2
  SILValue OpValue = getOpValue(Inst->getOperand());
1830
2
  SILType OpLoweredType = getOpType(Inst->getTargetLoweredType());
1831
2
  CanType OpFormalType = getOpASTType(Inst->getTargetFormalType());
1832
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1833
2
  recordClonedInstruction(Inst,
1834
2
                          getBuilder().createUnconditionalCheckedCast(
1835
2
                              OpLoc, OpValue, OpLoweredType, OpFormalType,
1836
2
                              getBuilder().hasOwnership()
1837
2
                                  ? Inst->getForwardingOwnershipKind()
1838
2
                                  : ValueOwnershipKind(OwnershipKind::None)));
1839
2
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
_ZN5swift9SILClonerINS_13GenericClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Line
Count
Source
1827
291
                                          UnconditionalCheckedCastInst *Inst) {
1828
291
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1829
291
  SILValue OpValue = getOpValue(Inst->getOperand());
1830
291
  SILType OpLoweredType = getOpType(Inst->getTargetLoweredType());
1831
291
  CanType OpFormalType = getOpASTType(Inst->getTargetFormalType());
1832
291
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1833
291
  recordClonedInstruction(Inst,
1834
291
                          getBuilder().createUnconditionalCheckedCast(
1835
291
                              OpLoc, OpValue, OpLoweredType, OpFormalType,
1836
291
                              getBuilder().hasOwnership()
1837
291
                                  ? Inst->getForwardingOwnershipKind()
1838
291
                                  : ValueOwnershipKind(OwnershipKind::None)));
1839
291
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
Line
Count
Source
1827
44
                                          UnconditionalCheckedCastInst *Inst) {
1828
44
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1829
44
  SILValue OpValue = getOpValue(Inst->getOperand());
1830
44
  SILType OpLoweredType = getOpType(Inst->getTargetLoweredType());
1831
44
  CanType OpFormalType = getOpASTType(Inst->getTargetFormalType());
1832
44
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1833
44
  recordClonedInstruction(Inst,
1834
44
                          getBuilder().createUnconditionalCheckedCast(
1835
44
                              OpLoc, OpValue, OpLoweredType, OpFormalType,
1836
44
                              getBuilder().hasOwnership()
1837
44
                                  ? Inst->getForwardingOwnershipKind()
1838
44
                                  : ValueOwnershipKind(OwnershipKind::None)));
1839
44
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE33visitUnconditionalCheckedCastInstEPNS_28UnconditionalCheckedCastInstE
1840
1841
template<typename ImplClass>
1842
void
1843
SILCloner<ImplClass>::visitUnconditionalCheckedCastAddrInst(
1844
40
                                      UnconditionalCheckedCastAddrInst *Inst) {
1845
40
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1846
40
  SILValue SrcValue = getOpValue(Inst->getSrc());
1847
40
  SILValue DestValue = getOpValue(Inst->getDest());
1848
40
  CanType SrcType = getOpASTType(Inst->getSourceFormalType());
1849
40
  CanType TargetType = getOpASTType(Inst->getTargetFormalType());
1850
40
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1851
40
  recordClonedInstruction(Inst,
1852
40
                          getBuilder().createUnconditionalCheckedCastAddr(
1853
40
                              OpLoc, SrcValue, SrcType, DestValue, TargetType));
1854
40
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Line
Count
Source
1844
1
                                      UnconditionalCheckedCastAddrInst *Inst) {
1845
1
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1846
1
  SILValue SrcValue = getOpValue(Inst->getSrc());
1847
1
  SILValue DestValue = getOpValue(Inst->getDest());
1848
1
  CanType SrcType = getOpASTType(Inst->getSourceFormalType());
1849
1
  CanType TargetType = getOpASTType(Inst->getTargetFormalType());
1850
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1851
1
  recordClonedInstruction(Inst,
1852
1
                          getBuilder().createUnconditionalCheckedCastAddr(
1853
1
                              OpLoc, SrcValue, SrcType, DestValue, TargetType));
1854
1
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Line
Count
Source
1844
4
                                      UnconditionalCheckedCastAddrInst *Inst) {
1845
4
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1846
4
  SILValue SrcValue = getOpValue(Inst->getSrc());
1847
4
  SILValue DestValue = getOpValue(Inst->getDest());
1848
4
  CanType SrcType = getOpASTType(Inst->getSourceFormalType());
1849
4
  CanType TargetType = getOpASTType(Inst->getTargetFormalType());
1850
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1851
4
  recordClonedInstruction(Inst,
1852
4
                          getBuilder().createUnconditionalCheckedCastAddr(
1853
4
                              OpLoc, SrcValue, SrcType, DestValue, TargetType));
1854
4
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Line
Count
Source
1844
9
                                      UnconditionalCheckedCastAddrInst *Inst) {
1845
9
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1846
9
  SILValue SrcValue = getOpValue(Inst->getSrc());
1847
9
  SILValue DestValue = getOpValue(Inst->getDest());
1848
9
  CanType SrcType = getOpASTType(Inst->getSourceFormalType());
1849
9
  CanType TargetType = getOpASTType(Inst->getTargetFormalType());
1850
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1851
9
  recordClonedInstruction(Inst,
1852
9
                          getBuilder().createUnconditionalCheckedCastAddr(
1853
9
                              OpLoc, SrcValue, SrcType, DestValue, TargetType));
1854
9
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
Line
Count
Source
1844
26
                                      UnconditionalCheckedCastAddrInst *Inst) {
1845
26
  SILLocation OpLoc = getOpLocation(Inst->getLoc());
1846
26
  SILValue SrcValue = getOpValue(Inst->getSrc());
1847
26
  SILValue DestValue = getOpValue(Inst->getDest());
1848
26
  CanType SrcType = getOpASTType(Inst->getSourceFormalType());
1849
26
  CanType TargetType = getOpASTType(Inst->getTargetFormalType());
1850
26
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1851
26
  recordClonedInstruction(Inst,
1852
26
                          getBuilder().createUnconditionalCheckedCastAddr(
1853
26
                              OpLoc, SrcValue, SrcType, DestValue, TargetType));
1854
26
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE37visitUnconditionalCheckedCastAddrInstEPNS_32UnconditionalCheckedCastAddrInstE
1855
1856
template <typename ImplClass>
1857
1.76k
void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) {
1858
1.76k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1859
1.76k
  recordClonedInstruction(
1860
1.76k
      Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()),
1861
1.76k
                                           getOpValue(Inst->getOperand()),
1862
1.76k
                                           Inst->getAtomicity()));
1863
1.76k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitRetainValueInstEPNS_15RetainValueInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Line
Count
Source
1857
29
void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) {
1858
29
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1859
29
  recordClonedInstruction(
1860
29
      Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()),
1861
29
                                           getOpValue(Inst->getOperand()),
1862
29
                                           Inst->getAtomicity()));
1863
29
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Line
Count
Source
1857
7
void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) {
1858
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1859
7
  recordClonedInstruction(
1860
7
      Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()),
1861
7
                                           getOpValue(Inst->getOperand()),
1862
7
                                           Inst->getAtomicity()));
1863
7
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Line
Count
Source
1857
139
void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) {
1858
139
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1859
139
  recordClonedInstruction(
1860
139
      Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()),
1861
139
                                           getOpValue(Inst->getOperand()),
1862
139
                                           Inst->getAtomicity()));
1863
139
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Line
Count
Source
1857
82
void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) {
1858
82
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1859
82
  recordClonedInstruction(
1860
82
      Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()),
1861
82
                                           getOpValue(Inst->getOperand()),
1862
82
                                           Inst->getAtomicity()));
1863
82
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitRetainValueInstEPNS_15RetainValueInstE
_ZN5swift9SILClonerINS_13GenericClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Line
Count
Source
1857
584
void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) {
1858
584
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1859
584
  recordClonedInstruction(
1860
584
      Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()),
1861
584
                                           getOpValue(Inst->getOperand()),
1862
584
                                           Inst->getAtomicity()));
1863
584
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
Line
Count
Source
1857
919
void SILCloner<ImplClass>::visitRetainValueInst(RetainValueInst *Inst) {
1858
919
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1859
919
  recordClonedInstruction(
1860
919
      Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()),
1861
919
                                           getOpValue(Inst->getOperand()),
1862
919
                                           Inst->getAtomicity()));
1863
919
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitRetainValueInstEPNS_15RetainValueInstE
1864
1865
template <typename ImplClass>
1866
0
void SILCloner<ImplClass>::visitRetainValueAddrInst(RetainValueAddrInst *Inst) {
1867
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1868
0
  recordClonedInstruction(
1869
0
      Inst, getBuilder().createRetainValueAddr(getOpLocation(Inst->getLoc()),
1870
0
                                               getOpValue(Inst->getOperand()),
1871
0
                                               Inst->getAtomicity()));
1872
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitRetainValueAddrInstEPNS_19RetainValueAddrInstE
1873
1874
template <typename ImplClass>
1875
void SILCloner<ImplClass>::visitUnmanagedRetainValueInst(
1876
9
    UnmanagedRetainValueInst *Inst) {
1877
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1878
9
  if (!getBuilder().hasOwnership()) {
1879
0
    return recordClonedInstruction(
1880
0
        Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()),
1881
0
                                             getOpValue(Inst->getOperand()),
1882
0
                                             Inst->getAtomicity()));
1883
0
  }
1884
1885
9
  recordClonedInstruction(Inst, getBuilder().createUnmanagedRetainValue(
1886
9
                                    getOpLocation(Inst->getLoc()),
1887
9
                                    getOpValue(Inst->getOperand()),
1888
9
                                    Inst->getAtomicity()));
1889
9
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
_ZN5swift9SILClonerINS_13GenericClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Line
Count
Source
1876
3
    UnmanagedRetainValueInst *Inst) {
1877
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1878
3
  if (!getBuilder().hasOwnership()) {
1879
0
    return recordClonedInstruction(
1880
0
        Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()),
1881
0
                                             getOpValue(Inst->getOperand()),
1882
0
                                             Inst->getAtomicity()));
1883
0
  }
1884
1885
3
  recordClonedInstruction(Inst, getBuilder().createUnmanagedRetainValue(
1886
3
                                    getOpLocation(Inst->getLoc()),
1887
3
                                    getOpValue(Inst->getOperand()),
1888
3
                                    Inst->getAtomicity()));
1889
3
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
Line
Count
Source
1876
6
    UnmanagedRetainValueInst *Inst) {
1877
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1878
6
  if (!getBuilder().hasOwnership()) {
1879
0
    return recordClonedInstruction(
1880
0
        Inst, getBuilder().createRetainValue(getOpLocation(Inst->getLoc()),
1881
0
                                             getOpValue(Inst->getOperand()),
1882
0
                                             Inst->getAtomicity()));
1883
0
  }
1884
1885
6
  recordClonedInstruction(Inst, getBuilder().createUnmanagedRetainValue(
1886
6
                                    getOpLocation(Inst->getLoc()),
1887
6
                                    getOpValue(Inst->getOperand()),
1888
6
                                    Inst->getAtomicity()));
1889
6
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitUnmanagedRetainValueInstEPNS_24UnmanagedRetainValueInstE
1890
1891
template <typename ImplClass>
1892
13.7k
void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) {
1893
13.7k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1894
13.7k
  if (!getBuilder().hasOwnership()) {
1895
    // Noescape closures become trivial after OSSA.
1896
134
    if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) {
1897
8
      if (fnTy->isTrivialNoEscape()) {
1898
0
        return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1899
0
      }
1900
8
    }
1901
  
1902
134
    SILValue newValue = getBuilder().emitCopyValueOperation(
1903
134
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()));
1904
134
    return recordFoldedValue(Inst, newValue);
1905
134
  }
1906
1907
13.6k
  recordClonedInstruction(
1908
13.6k
      Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()),
1909
13.6k
                                         getOpValue(Inst->getOperand())));
1910
13.6k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitCopyValueInstEPNS_13CopyValueInstE
Line
Count
Source
1892
28
void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) {
1893
28
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1894
28
  if (!getBuilder().hasOwnership()) {
1895
    // Noescape closures become trivial after OSSA.
1896
0
    if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) {
1897
0
      if (fnTy->isTrivialNoEscape()) {
1898
0
        return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1899
0
      }
1900
0
    }
1901
  
1902
0
    SILValue newValue = getBuilder().emitCopyValueOperation(
1903
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()));
1904
0
    return recordFoldedValue(Inst, newValue);
1905
0
  }
1906
1907
28
  recordClonedInstruction(
1908
28
      Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()),
1909
28
                                         getOpValue(Inst->getOperand())));
1910
28
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitCopyValueInstEPNS_13CopyValueInstE
Line
Count
Source
1892
168
void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) {
1893
168
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1894
168
  if (!getBuilder().hasOwnership()) {
1895
    // Noescape closures become trivial after OSSA.
1896
0
    if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) {
1897
0
      if (fnTy->isTrivialNoEscape()) {
1898
0
        return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1899
0
      }
1900
0
    }
1901
  
1902
0
    SILValue newValue = getBuilder().emitCopyValueOperation(
1903
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()));
1904
0
    return recordFoldedValue(Inst, newValue);
1905
0
  }
1906
1907
168
  recordClonedInstruction(
1908
168
      Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()),
1909
168
                                         getOpValue(Inst->getOperand())));
1910
168
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Line
Count
Source
1892
2
void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) {
1893
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1894
2
  if (!getBuilder().hasOwnership()) {
1895
    // Noescape closures become trivial after OSSA.
1896
0
    if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) {
1897
0
      if (fnTy->isTrivialNoEscape()) {
1898
0
        return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1899
0
      }
1900
0
    }
1901
  
1902
0
    SILValue newValue = getBuilder().emitCopyValueOperation(
1903
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()));
1904
0
    return recordFoldedValue(Inst, newValue);
1905
0
  }
1906
1907
2
  recordClonedInstruction(
1908
2
      Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()),
1909
2
                                         getOpValue(Inst->getOperand())));
1910
2
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitCopyValueInstEPNS_13CopyValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Line
Count
Source
1892
4
void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) {
1893
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1894
4
  if (!getBuilder().hasOwnership()) {
1895
    // Noescape closures become trivial after OSSA.
1896
0
    if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) {
1897
0
      if (fnTy->isTrivialNoEscape()) {
1898
0
        return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1899
0
      }
1900
0
    }
1901
  
1902
0
    SILValue newValue = getBuilder().emitCopyValueOperation(
1903
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()));
1904
0
    return recordFoldedValue(Inst, newValue);
1905
0
  }
1906
1907
4
  recordClonedInstruction(
1908
4
      Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()),
1909
4
                                         getOpValue(Inst->getOperand())));
1910
4
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Line
Count
Source
1892
2
void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) {
1893
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1894
2
  if (!getBuilder().hasOwnership()) {
1895
    // Noescape closures become trivial after OSSA.
1896
0
    if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) {
1897
0
      if (fnTy->isTrivialNoEscape()) {
1898
0
        return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1899
0
      }
1900
0
    }
1901
  
1902
0
    SILValue newValue = getBuilder().emitCopyValueOperation(
1903
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()));
1904
0
    return recordFoldedValue(Inst, newValue);
1905
0
  }
1906
1907
2
  recordClonedInstruction(
1908
2
      Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()),
1909
2
                                         getOpValue(Inst->getOperand())));
1910
2
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitCopyValueInstEPNS_13CopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Line
Count
Source
1892
5
void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) {
1893
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1894
5
  if (!getBuilder().hasOwnership()) {
1895
    // Noescape closures become trivial after OSSA.
1896
0
    if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) {
1897
0
      if (fnTy->isTrivialNoEscape()) {
1898
0
        return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1899
0
      }
1900
0
    }
1901
  
1902
0
    SILValue newValue = getBuilder().emitCopyValueOperation(
1903
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()));
1904
0
    return recordFoldedValue(Inst, newValue);
1905
0
  }
1906
1907
5
  recordClonedInstruction(
1908
5
      Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()),
1909
5
                                         getOpValue(Inst->getOperand())));
1910
5
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitCopyValueInstEPNS_13CopyValueInstE
_ZN5swift9SILClonerINS_13GenericClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Line
Count
Source
1892
9.49k
void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) {
1893
9.49k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1894
9.49k
  if (!getBuilder().hasOwnership()) {
1895
    // Noescape closures become trivial after OSSA.
1896
0
    if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) {
1897
0
      if (fnTy->isTrivialNoEscape()) {
1898
0
        return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1899
0
      }
1900
0
    }
1901
  
1902
0
    SILValue newValue = getBuilder().emitCopyValueOperation(
1903
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()));
1904
0
    return recordFoldedValue(Inst, newValue);
1905
0
  }
1906
1907
9.49k
  recordClonedInstruction(
1908
9.49k
      Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()),
1909
9.49k
                                         getOpValue(Inst->getOperand())));
1910
9.49k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
Line
Count
Source
1892
4.06k
void SILCloner<ImplClass>::visitCopyValueInst(CopyValueInst *Inst) {
1893
4.06k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1894
4.06k
  if (!getBuilder().hasOwnership()) {
1895
    // Noescape closures become trivial after OSSA.
1896
134
    if (auto fnTy = Inst->getType().getAs<SILFunctionType>()) {
1897
8
      if (fnTy->isTrivialNoEscape()) {
1898
0
        return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1899
0
      }
1900
8
    }
1901
  
1902
134
    SILValue newValue = getBuilder().emitCopyValueOperation(
1903
134
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()));
1904
134
    return recordFoldedValue(Inst, newValue);
1905
134
  }
1906
1907
3.92k
  recordClonedInstruction(
1908
3.92k
      Inst, getBuilder().createCopyValue(getOpLocation(Inst->getLoc()),
1909
3.92k
                                         getOpValue(Inst->getOperand())));
1910
3.92k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitCopyValueInstEPNS_13CopyValueInstE
1911
1912
template <typename ImplClass>
1913
void SILCloner<ImplClass>::visitExplicitCopyValueInst(
1914
0
    ExplicitCopyValueInst *Inst) {
1915
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1916
0
  if (!getBuilder().hasOwnership()) {
1917
0
    SILValue newValue = getBuilder().emitCopyValueOperation(
1918
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()));
1919
0
    return recordFoldedValue(Inst, newValue);
1920
0
  }
1921
1922
0
  recordClonedInstruction(
1923
0
      Inst, getBuilder().createExplicitCopyValue(
1924
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
1925
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitExplicitCopyValueInstEPNS_21ExplicitCopyValueInstE
1926
1927
template <typename ImplClass>
1928
308
void SILCloner<ImplClass>::visitMoveValueInst(MoveValueInst *Inst) {
1929
308
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1930
308
  if (!getBuilder().hasOwnership()) {
1931
10
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1932
10
  }
1933
298
  auto *MVI = getBuilder().createMoveValue(getOpLocation(Inst->getLoc()),
1934
298
                                           getOpValue(Inst->getOperand()),
1935
298
                                           Inst->isLexical());
1936
298
  MVI->setAllowsDiagnostics(Inst->getAllowDiagnostics());
1937
298
  recordClonedInstruction(Inst, MVI);
1938
298
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitMoveValueInstEPNS_13MoveValueInstE
_ZN5swift9SILClonerINS_13GenericClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Line
Count
Source
1928
8
void SILCloner<ImplClass>::visitMoveValueInst(MoveValueInst *Inst) {
1929
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1930
8
  if (!getBuilder().hasOwnership()) {
1931
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1932
0
  }
1933
8
  auto *MVI = getBuilder().createMoveValue(getOpLocation(Inst->getLoc()),
1934
8
                                           getOpValue(Inst->getOperand()),
1935
8
                                           Inst->isLexical());
1936
8
  MVI->setAllowsDiagnostics(Inst->getAllowDiagnostics());
1937
8
  recordClonedInstruction(Inst, MVI);
1938
8
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
Line
Count
Source
1928
300
void SILCloner<ImplClass>::visitMoveValueInst(MoveValueInst *Inst) {
1929
300
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1930
300
  if (!getBuilder().hasOwnership()) {
1931
10
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1932
10
  }
1933
290
  auto *MVI = getBuilder().createMoveValue(getOpLocation(Inst->getLoc()),
1934
290
                                           getOpValue(Inst->getOperand()),
1935
290
                                           Inst->isLexical());
1936
290
  MVI->setAllowsDiagnostics(Inst->getAllowDiagnostics());
1937
290
  recordClonedInstruction(Inst, MVI);
1938
290
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitMoveValueInstEPNS_13MoveValueInstE
1939
1940
template <typename ImplClass>
1941
0
void SILCloner<ImplClass>::visitDropDeinitInst(DropDeinitInst *Inst) {
1942
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1943
0
  if (!getBuilder().hasOwnership()) {
1944
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
1945
0
  }
1946
0
  auto *MVI = getBuilder().createDropDeinit(getOpLocation(Inst->getLoc()),
1947
0
                                            getOpValue(Inst->getOperand()));
1948
0
  recordClonedInstruction(Inst, MVI);
1949
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitDropDeinitInstEPNS_14DropDeinitInstE
1950
1951
template <typename ImplClass>
1952
void SILCloner<ImplClass>::visitMarkUnresolvedNonCopyableValueInst(
1953
0
    MarkUnresolvedNonCopyableValueInst *Inst) {
1954
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1955
0
  auto *MVI = getBuilder().createMarkUnresolvedNonCopyableValueInst(
1956
0
      getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1957
0
      Inst->getCheckKind());
1958
0
  recordClonedInstruction(Inst, MVI);
1959
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE39visitMarkUnresolvedNonCopyableValueInstEPNS_34MarkUnresolvedNonCopyableValueInstE
1960
1961
template <typename ImplClass>
1962
void SILCloner<ImplClass>::visitMarkUnresolvedReferenceBindingInst(
1963
0
    MarkUnresolvedReferenceBindingInst *Inst) {
1964
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
1965
0
  auto *MVI = getBuilder().createMarkUnresolvedReferenceBindingInst(
1966
0
      getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
1967
0
      Inst->getKind());
1968
0
  recordClonedInstruction(Inst, MVI);
1969
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE39visitMarkUnresolvedReferenceBindingInstEPNS_34MarkUnresolvedReferenceBindingInstE
1970
1971
template <typename ImplClass>
1972
void SILCloner<ImplClass>::visitMoveOnlyWrapperToCopyableValueInst(
1973
0
    MoveOnlyWrapperToCopyableValueInst *inst) {
1974
0
  getBuilder().setCurrentDebugScope(getOpScope(inst->getDebugScope()));
1975
0
  MoveOnlyWrapperToCopyableValueInst *cvt;
1976
0
  if (inst->getOwnershipKind() == OwnershipKind::Owned) {
1977
0
    cvt = getBuilder().createOwnedMoveOnlyWrapperToCopyableValue(
1978
0
        getOpLocation(inst->getLoc()), getOpValue(inst->getOperand()));
1979
0
  } else {
1980
0
    assert(inst->getOwnershipKind() == OwnershipKind::Guaranteed);
1981
0
    cvt = getBuilder().createGuaranteedMoveOnlyWrapperToCopyableValue(
1982
0
        getOpLocation(inst->getLoc()), getOpValue(inst->getOperand()));
1983
0
  }
1984
0
  recordClonedInstruction(inst, cvt);
1985
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE39visitMoveOnlyWrapperToCopyableValueInstEPNS_34MoveOnlyWrapperToCopyableValueInstE
1986
1987
template <typename ImplClass>
1988
void SILCloner<ImplClass>::visitMoveOnlyWrapperToCopyableBoxInst(
1989
0
    MoveOnlyWrapperToCopyableBoxInst *inst) {
1990
0
  getBuilder().setCurrentDebugScope(getOpScope(inst->getDebugScope()));
1991
0
  recordClonedInstruction(
1992
0
      inst, getBuilder().createMoveOnlyWrapperToCopyableBox(
1993
0
                getOpLocation(inst->getLoc()), getOpValue(inst->getOperand())));
1994
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE37visitMoveOnlyWrapperToCopyableBoxInstEPNS_32MoveOnlyWrapperToCopyableBoxInstE
1995
1996
template <typename ImplClass>
1997
void SILCloner<ImplClass>::visitMoveOnlyWrapperToCopyableAddrInst(
1998
0
    MoveOnlyWrapperToCopyableAddrInst *inst) {
1999
0
  getBuilder().setCurrentDebugScope(getOpScope(inst->getDebugScope()));
2000
0
  recordClonedInstruction(
2001
0
      inst, getBuilder().createMoveOnlyWrapperToCopyableAddr(
2002
0
                getOpLocation(inst->getLoc()), getOpValue(inst->getOperand())));
2003
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE38visitMoveOnlyWrapperToCopyableAddrInstEPNS_33MoveOnlyWrapperToCopyableAddrInstE
2004
2005
template <typename ImplClass>
2006
void SILCloner<ImplClass>::visitCopyableToMoveOnlyWrapperAddrInst(
2007
0
    CopyableToMoveOnlyWrapperAddrInst *inst) {
2008
0
  getBuilder().setCurrentDebugScope(getOpScope(inst->getDebugScope()));
2009
0
  recordClonedInstruction(
2010
0
      inst, getBuilder().createCopyableToMoveOnlyWrapperAddr(
2011
0
                getOpLocation(inst->getLoc()), getOpValue(inst->getOperand())));
2012
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE38visitCopyableToMoveOnlyWrapperAddrInstEPNS_33CopyableToMoveOnlyWrapperAddrInstE
2013
2014
template <typename ImplClass>
2015
void SILCloner<ImplClass>::visitCopyableToMoveOnlyWrapperValueInst(
2016
0
    CopyableToMoveOnlyWrapperValueInst *inst) {
2017
0
  getBuilder().setCurrentDebugScope(getOpScope(inst->getDebugScope()));
2018
0
  CopyableToMoveOnlyWrapperValueInst *cvt;
2019
0
  if (inst->getOwnershipKind() == OwnershipKind::Owned) {
2020
0
    cvt = getBuilder().createOwnedCopyableToMoveOnlyWrapperValue(
2021
0
        getOpLocation(inst->getLoc()), getOpValue(inst->getOperand()));
2022
0
  } else {
2023
0
    assert(inst->getOwnershipKind() == OwnershipKind::Guaranteed);
2024
0
    cvt = getBuilder().createGuaranteedCopyableToMoveOnlyWrapperValue(
2025
0
        getOpLocation(inst->getLoc()), getOpValue(inst->getOperand()));
2026
0
  }
2027
0
  recordClonedInstruction(inst, cvt);
2028
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE39visitCopyableToMoveOnlyWrapperValueInstEPNS_34CopyableToMoveOnlyWrapperValueInstE
2029
2030
template <typename ImplClass>
2031
5.24k
void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) {
2032
5.24k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2033
5.24k
  recordClonedInstruction(
2034
5.24k
      Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()),
2035
5.24k
                                            getOpValue(Inst->getOperand()),
2036
5.24k
                                            Inst->getAtomicity()));
2037
5.24k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Line
Count
Source
2031
60
void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) {
2032
60
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2033
60
  recordClonedInstruction(
2034
60
      Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()),
2035
60
                                            getOpValue(Inst->getOperand()),
2036
60
                                            Inst->getAtomicity()));
2037
60
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Line
Count
Source
2031
9
void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) {
2032
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2033
9
  recordClonedInstruction(
2034
9
      Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()),
2035
9
                                            getOpValue(Inst->getOperand()),
2036
9
                                            Inst->getAtomicity()));
2037
9
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Line
Count
Source
2031
581
void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) {
2032
581
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2033
581
  recordClonedInstruction(
2034
581
      Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()),
2035
581
                                            getOpValue(Inst->getOperand()),
2036
581
                                            Inst->getAtomicity()));
2037
581
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Line
Count
Source
2031
228
void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) {
2032
228
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2033
228
  recordClonedInstruction(
2034
228
      Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()),
2035
228
                                            getOpValue(Inst->getOperand()),
2036
228
                                            Inst->getAtomicity()));
2037
228
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
_ZN5swift9SILClonerINS_13GenericClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Line
Count
Source
2031
870
void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) {
2032
870
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2033
870
  recordClonedInstruction(
2034
870
      Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()),
2035
870
                                            getOpValue(Inst->getOperand()),
2036
870
                                            Inst->getAtomicity()));
2037
870
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Line
Count
Source
2031
3.49k
void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) {
2032
3.49k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2033
3.49k
  recordClonedInstruction(
2034
3.49k
      Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()),
2035
3.49k
                                            getOpValue(Inst->getOperand()),
2036
3.49k
                                            Inst->getAtomicity()));
2037
3.49k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitReleaseValueInstEPNS_16ReleaseValueInstE
Line
Count
Source
2031
1
void SILCloner<ImplClass>::visitReleaseValueInst(ReleaseValueInst *Inst) {
2032
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2033
1
  recordClonedInstruction(
2034
1
      Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()),
2035
1
                                            getOpValue(Inst->getOperand()),
2036
1
                                            Inst->getAtomicity()));
2037
1
}
2038
2039
template <typename ImplClass>
2040
void SILCloner<ImplClass>::visitReleaseValueAddrInst(
2041
0
    ReleaseValueAddrInst *Inst) {
2042
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2043
0
  recordClonedInstruction(
2044
0
      Inst, getBuilder().createReleaseValueAddr(getOpLocation(Inst->getLoc()),
2045
0
                                                getOpValue(Inst->getOperand()),
2046
0
                                                Inst->getAtomicity()));
2047
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitReleaseValueAddrInstEPNS_20ReleaseValueAddrInstE
2048
2049
template <typename ImplClass>
2050
void SILCloner<ImplClass>::visitUnmanagedReleaseValueInst(
2051
4
    UnmanagedReleaseValueInst *Inst) {
2052
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2053
4
  if (!getBuilder().hasOwnership()) {
2054
0
    return recordClonedInstruction(
2055
0
        Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()),
2056
0
                                              getOpValue(Inst->getOperand()),
2057
0
                                              Inst->getAtomicity()));
2058
0
  }
2059
4
  recordClonedInstruction(Inst, getBuilder().createUnmanagedReleaseValue(
2060
4
                                    getOpLocation(Inst->getLoc()),
2061
4
                                    getOpValue(Inst->getOperand()),
2062
4
                                    Inst->getAtomicity()));
2063
4
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
Line
Count
Source
2051
4
    UnmanagedReleaseValueInst *Inst) {
2052
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2053
4
  if (!getBuilder().hasOwnership()) {
2054
0
    return recordClonedInstruction(
2055
0
        Inst, getBuilder().createReleaseValue(getOpLocation(Inst->getLoc()),
2056
0
                                              getOpValue(Inst->getOperand()),
2057
0
                                              Inst->getAtomicity()));
2058
0
  }
2059
4
  recordClonedInstruction(Inst, getBuilder().createUnmanagedReleaseValue(
2060
4
                                    getOpLocation(Inst->getLoc()),
2061
4
                                    getOpValue(Inst->getOperand()),
2062
4
                                    Inst->getAtomicity()));
2063
4
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitUnmanagedReleaseValueInstEPNS_25UnmanagedReleaseValueInstE
2064
2065
template <typename ImplClass>
2066
30.2k
void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) {
2067
30.2k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2068
30.2k
  if (!getBuilder().hasOwnership()) {
2069
    // Noescape closures become trivial after OSSA.
2070
315
    if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) {
2071
29
      if (fnTy->isTrivialNoEscape()) {
2072
        // Destroying the partial_apply [stack] becomes the stack deallocation
2073
        // of the context.
2074
13
        if (auto origPA = Inst->getNonescapingClosureAllocation()) {
2075
13
          recordClonedInstruction(Inst,
2076
13
            getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2077
13
                                            getOpValue(origPA)));
2078
13
        }
2079
        
2080
13
        return;
2081
13
      }
2082
29
    }
2083
  
2084
302
    return recordClonedInstruction(
2085
302
        Inst, getBuilder().createReleaseValue(
2086
302
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2087
302
                  RefCountingInst::Atomicity::Atomic));
2088
315
  }
2089
2090
29.9k
  recordClonedInstruction(
2091
29.9k
      Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()),
2092
29.9k
                                            getOpValue(Inst->getOperand()),
2093
29.9k
                                            Inst->poisonRefs()));
2094
29.9k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Line
Count
Source
2066
47
void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) {
2067
47
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2068
47
  if (!getBuilder().hasOwnership()) {
2069
    // Noescape closures become trivial after OSSA.
2070
0
    if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) {
2071
0
      if (fnTy->isTrivialNoEscape()) {
2072
        // Destroying the partial_apply [stack] becomes the stack deallocation
2073
        // of the context.
2074
0
        if (auto origPA = Inst->getNonescapingClosureAllocation()) {
2075
0
          recordClonedInstruction(Inst,
2076
0
            getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2077
0
                                            getOpValue(origPA)));
2078
0
        }
2079
        
2080
0
        return;
2081
0
      }
2082
0
    }
2083
  
2084
0
    return recordClonedInstruction(
2085
0
        Inst, getBuilder().createReleaseValue(
2086
0
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2087
0
                  RefCountingInst::Atomicity::Atomic));
2088
0
  }
2089
2090
47
  recordClonedInstruction(
2091
47
      Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()),
2092
47
                                            getOpValue(Inst->getOperand()),
2093
47
                                            Inst->poisonRefs()));
2094
47
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Line
Count
Source
2066
255
void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) {
2067
255
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2068
255
  if (!getBuilder().hasOwnership()) {
2069
    // Noescape closures become trivial after OSSA.
2070
0
    if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) {
2071
0
      if (fnTy->isTrivialNoEscape()) {
2072
        // Destroying the partial_apply [stack] becomes the stack deallocation
2073
        // of the context.
2074
0
        if (auto origPA = Inst->getNonescapingClosureAllocation()) {
2075
0
          recordClonedInstruction(Inst,
2076
0
            getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2077
0
                                            getOpValue(origPA)));
2078
0
        }
2079
        
2080
0
        return;
2081
0
      }
2082
0
    }
2083
  
2084
0
    return recordClonedInstruction(
2085
0
        Inst, getBuilder().createReleaseValue(
2086
0
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2087
0
                  RefCountingInst::Atomicity::Atomic));
2088
0
  }
2089
2090
255
  recordClonedInstruction(
2091
255
      Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()),
2092
255
                                            getOpValue(Inst->getOperand()),
2093
255
                                            Inst->poisonRefs()));
2094
255
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Line
Count
Source
2066
5
void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) {
2067
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2068
5
  if (!getBuilder().hasOwnership()) {
2069
    // Noescape closures become trivial after OSSA.
2070
0
    if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) {
2071
0
      if (fnTy->isTrivialNoEscape()) {
2072
        // Destroying the partial_apply [stack] becomes the stack deallocation
2073
        // of the context.
2074
0
        if (auto origPA = Inst->getNonescapingClosureAllocation()) {
2075
0
          recordClonedInstruction(Inst,
2076
0
            getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2077
0
                                            getOpValue(origPA)));
2078
0
        }
2079
        
2080
0
        return;
2081
0
      }
2082
0
    }
2083
  
2084
0
    return recordClonedInstruction(
2085
0
        Inst, getBuilder().createReleaseValue(
2086
0
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2087
0
                  RefCountingInst::Atomicity::Atomic));
2088
0
  }
2089
2090
5
  recordClonedInstruction(
2091
5
      Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()),
2092
5
                                            getOpValue(Inst->getOperand()),
2093
5
                                            Inst->poisonRefs()));
2094
5
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Line
Count
Source
2066
30
void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) {
2067
30
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2068
30
  if (!getBuilder().hasOwnership()) {
2069
    // Noescape closures become trivial after OSSA.
2070
0
    if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) {
2071
0
      if (fnTy->isTrivialNoEscape()) {
2072
        // Destroying the partial_apply [stack] becomes the stack deallocation
2073
        // of the context.
2074
0
        if (auto origPA = Inst->getNonescapingClosureAllocation()) {
2075
0
          recordClonedInstruction(Inst,
2076
0
            getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2077
0
                                            getOpValue(origPA)));
2078
0
        }
2079
        
2080
0
        return;
2081
0
      }
2082
0
    }
2083
  
2084
0
    return recordClonedInstruction(
2085
0
        Inst, getBuilder().createReleaseValue(
2086
0
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2087
0
                  RefCountingInst::Atomicity::Atomic));
2088
0
  }
2089
2090
30
  recordClonedInstruction(
2091
30
      Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()),
2092
30
                                            getOpValue(Inst->getOperand()),
2093
30
                                            Inst->poisonRefs()));
2094
30
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Line
Count
Source
2066
101
void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) {
2067
101
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2068
101
  if (!getBuilder().hasOwnership()) {
2069
    // Noescape closures become trivial after OSSA.
2070
0
    if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) {
2071
0
      if (fnTy->isTrivialNoEscape()) {
2072
        // Destroying the partial_apply [stack] becomes the stack deallocation
2073
        // of the context.
2074
0
        if (auto origPA = Inst->getNonescapingClosureAllocation()) {
2075
0
          recordClonedInstruction(Inst,
2076
0
            getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2077
0
                                            getOpValue(origPA)));
2078
0
        }
2079
        
2080
0
        return;
2081
0
      }
2082
0
    }
2083
  
2084
0
    return recordClonedInstruction(
2085
0
        Inst, getBuilder().createReleaseValue(
2086
0
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2087
0
                  RefCountingInst::Atomicity::Atomic));
2088
0
  }
2089
2090
101
  recordClonedInstruction(
2091
101
      Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()),
2092
101
                                            getOpValue(Inst->getOperand()),
2093
101
                                            Inst->poisonRefs()));
2094
101
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Line
Count
Source
2066
45
void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) {
2067
45
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2068
45
  if (!getBuilder().hasOwnership()) {
2069
    // Noescape closures become trivial after OSSA.
2070
0
    if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) {
2071
0
      if (fnTy->isTrivialNoEscape()) {
2072
        // Destroying the partial_apply [stack] becomes the stack deallocation
2073
        // of the context.
2074
0
        if (auto origPA = Inst->getNonescapingClosureAllocation()) {
2075
0
          recordClonedInstruction(Inst,
2076
0
            getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2077
0
                                            getOpValue(origPA)));
2078
0
        }
2079
        
2080
0
        return;
2081
0
      }
2082
0
    }
2083
  
2084
0
    return recordClonedInstruction(
2085
0
        Inst, getBuilder().createReleaseValue(
2086
0
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2087
0
                  RefCountingInst::Atomicity::Atomic));
2088
0
  }
2089
2090
45
  recordClonedInstruction(
2091
45
      Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()),
2092
45
                                            getOpValue(Inst->getOperand()),
2093
45
                                            Inst->poisonRefs()));
2094
45
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitDestroyValueInstEPNS_16DestroyValueInstE
_ZN5swift9SILClonerINS_13GenericClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Line
Count
Source
2066
19.0k
void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) {
2067
19.0k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2068
19.0k
  if (!getBuilder().hasOwnership()) {
2069
    // Noescape closures become trivial after OSSA.
2070
0
    if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) {
2071
0
      if (fnTy->isTrivialNoEscape()) {
2072
        // Destroying the partial_apply [stack] becomes the stack deallocation
2073
        // of the context.
2074
0
        if (auto origPA = Inst->getNonescapingClosureAllocation()) {
2075
0
          recordClonedInstruction(Inst,
2076
0
            getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2077
0
                                            getOpValue(origPA)));
2078
0
        }
2079
        
2080
0
        return;
2081
0
      }
2082
0
    }
2083
  
2084
0
    return recordClonedInstruction(
2085
0
        Inst, getBuilder().createReleaseValue(
2086
0
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2087
0
                  RefCountingInst::Atomicity::Atomic));
2088
0
  }
2089
2090
19.0k
  recordClonedInstruction(
2091
19.0k
      Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()),
2092
19.0k
                                            getOpValue(Inst->getOperand()),
2093
19.0k
                                            Inst->poisonRefs()));
2094
19.0k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Line
Count
Source
2066
10.6k
void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) {
2067
10.6k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2068
10.6k
  if (!getBuilder().hasOwnership()) {
2069
    // Noescape closures become trivial after OSSA.
2070
315
    if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) {
2071
29
      if (fnTy->isTrivialNoEscape()) {
2072
        // Destroying the partial_apply [stack] becomes the stack deallocation
2073
        // of the context.
2074
13
        if (auto origPA = Inst->getNonescapingClosureAllocation()) {
2075
13
          recordClonedInstruction(Inst,
2076
13
            getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2077
13
                                            getOpValue(origPA)));
2078
13
        }
2079
        
2080
13
        return;
2081
13
      }
2082
29
    }
2083
  
2084
302
    return recordClonedInstruction(
2085
302
        Inst, getBuilder().createReleaseValue(
2086
302
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2087
302
                  RefCountingInst::Atomicity::Atomic));
2088
315
  }
2089
2090
10.3k
  recordClonedInstruction(
2091
10.3k
      Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()),
2092
10.3k
                                            getOpValue(Inst->getOperand()),
2093
10.3k
                                            Inst->poisonRefs()));
2094
10.3k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitDestroyValueInstEPNS_16DestroyValueInstE
Line
Count
Source
2066
8
void SILCloner<ImplClass>::visitDestroyValueInst(DestroyValueInst *Inst) {
2067
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2068
8
  if (!getBuilder().hasOwnership()) {
2069
    // Noescape closures become trivial after OSSA.
2070
0
    if (auto fnTy = Inst->getOperand()->getType().getAs<SILFunctionType>()) {
2071
0
      if (fnTy->isTrivialNoEscape()) {
2072
        // Destroying the partial_apply [stack] becomes the stack deallocation
2073
        // of the context.
2074
0
        if (auto origPA = Inst->getNonescapingClosureAllocation()) {
2075
0
          recordClonedInstruction(Inst,
2076
0
            getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2077
0
                                            getOpValue(origPA)));
2078
0
        }
2079
        
2080
0
        return;
2081
0
      }
2082
0
    }
2083
  
2084
0
    return recordClonedInstruction(
2085
0
        Inst, getBuilder().createReleaseValue(
2086
0
                  getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2087
0
                  RefCountingInst::Atomicity::Atomic));
2088
0
  }
2089
2090
8
  recordClonedInstruction(
2091
8
      Inst, getBuilder().createDestroyValue(getOpLocation(Inst->getLoc()),
2092
8
                                            getOpValue(Inst->getOperand()),
2093
8
                                            Inst->poisonRefs()));
2094
8
}
2095
2096
template <typename ImplClass>
2097
void SILCloner<ImplClass>::visitAutoreleaseValueInst(
2098
0
    AutoreleaseValueInst *Inst) {
2099
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2100
0
  recordClonedInstruction(
2101
0
      Inst, getBuilder().createAutoreleaseValue(getOpLocation(Inst->getLoc()),
2102
0
                                                getOpValue(Inst->getOperand()),
2103
0
                                                Inst->getAtomicity()));
2104
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitAutoreleaseValueInstEPNS_20AutoreleaseValueInstE
2105
2106
template <typename ImplClass>
2107
void SILCloner<ImplClass>::visitUnmanagedAutoreleaseValueInst(
2108
0
    UnmanagedAutoreleaseValueInst *Inst) {
2109
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2110
0
  if (!getBuilder().hasOwnership()) {
2111
0
    return recordClonedInstruction(Inst, getBuilder().createAutoreleaseValue(
2112
0
                                             getOpLocation(Inst->getLoc()),
2113
0
                                             getOpValue(Inst->getOperand()),
2114
0
                                             Inst->getAtomicity()));
2115
0
  }
2116
2117
0
  recordClonedInstruction(Inst, getBuilder().createUnmanagedAutoreleaseValue(
2118
0
                                    getOpLocation(Inst->getLoc()),
2119
0
                                    getOpValue(Inst->getOperand()),
2120
0
                                    Inst->getAtomicity()));
2121
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE34visitUnmanagedAutoreleaseValueInstEPNS_29UnmanagedAutoreleaseValueInstE
2122
2123
template<typename ImplClass>
2124
void
2125
0
SILCloner<ImplClass>::visitBeginDeallocRefInst(BeginDeallocRefInst *Inst) {
2126
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2127
0
  recordClonedInstruction(
2128
0
      Inst, getBuilder().createBeginDeallocRef(getOpLocation(Inst->getLoc()),
2129
0
                                               getOpValue(Inst->getReference()),
2130
0
                                               getOpValue(Inst->getAllocation())));
2131
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitBeginDeallocRefInstEPNS_19BeginDeallocRefInstE
2132
2133
template<typename ImplClass>
2134
void
2135
172
SILCloner<ImplClass>::visitEndInitLetRefInst(EndInitLetRefInst *Inst) {
2136
172
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2137
172
  recordClonedInstruction(
2138
172
      Inst, getBuilder().createEndInitLetRef(getOpLocation(Inst->getLoc()),
2139
172
                                          getOpValue(Inst->getOperand())));
2140
172
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Line
Count
Source
2135
10
SILCloner<ImplClass>::visitEndInitLetRefInst(EndInitLetRefInst *Inst) {
2136
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2137
10
  recordClonedInstruction(
2138
10
      Inst, getBuilder().createEndInitLetRef(getOpLocation(Inst->getLoc()),
2139
10
                                          getOpValue(Inst->getOperand())));
2140
10
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Line
Count
Source
2135
1
SILCloner<ImplClass>::visitEndInitLetRefInst(EndInitLetRefInst *Inst) {
2136
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2137
1
  recordClonedInstruction(
2138
1
      Inst, getBuilder().createEndInitLetRef(getOpLocation(Inst->getLoc()),
2139
1
                                          getOpValue(Inst->getOperand())));
2140
1
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
_ZN5swift9SILClonerINS_13GenericClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Line
Count
Source
2135
15
SILCloner<ImplClass>::visitEndInitLetRefInst(EndInitLetRefInst *Inst) {
2136
15
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2137
15
  recordClonedInstruction(
2138
15
      Inst, getBuilder().createEndInitLetRef(getOpLocation(Inst->getLoc()),
2139
15
                                          getOpValue(Inst->getOperand())));
2140
15
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
Line
Count
Source
2135
146
SILCloner<ImplClass>::visitEndInitLetRefInst(EndInitLetRefInst *Inst) {
2136
146
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2137
146
  recordClonedInstruction(
2138
146
      Inst, getBuilder().createEndInitLetRef(getOpLocation(Inst->getLoc()),
2139
146
                                          getOpValue(Inst->getOperand())));
2140
146
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitEndInitLetRefInstEPNS_17EndInitLetRefInstE
2141
2142
template<typename ImplClass>
2143
void
2144
0
SILCloner<ImplClass>::visitObjectInst(ObjectInst *Inst) {
2145
0
  auto Elements = getOpValueArray<8>(Inst->getAllElements());
2146
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2147
0
  recordClonedInstruction(
2148
0
      Inst,
2149
0
      getBuilder().createObject(getOpLocation(Inst->getLoc()), Inst->getType(),
2150
0
                                Elements, Inst->getBaseElements().size(),
2151
0
                                getBuilder().hasOwnership()
2152
0
                                    ? Inst->getForwardingOwnershipKind()
2153
0
                                    : ValueOwnershipKind(OwnershipKind::None)));
2154
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE15visitObjectInstEPNS_10ObjectInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitObjectInstEPNS_10ObjectInstE
2155
2156
template<typename ImplClass>
2157
void
2158
903k
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
903k
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
903k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
903k
  recordClonedInstruction(
2162
903k
      Inst,
2163
903k
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
903k
                                getOpType(Inst->getType()), Elements,
2165
903k
                                getBuilder().hasOwnership()
2166
903k
                                    ? Inst->getForwardingOwnershipKind()
2167
903k
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
903k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitStructInstEPNS_10StructInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitStructInstEPNS_10StructInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
6
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
6
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
6
  recordClonedInstruction(
2162
6
      Inst,
2163
6
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
6
                                getOpType(Inst->getType()), Elements,
2165
6
                                getBuilder().hasOwnership()
2166
6
                                    ? Inst->getForwardingOwnershipKind()
2167
6
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
6
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
15
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
15
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
15
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
15
  recordClonedInstruction(
2162
15
      Inst,
2163
15
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
15
                                getOpType(Inst->getType()), Elements,
2165
15
                                getBuilder().hasOwnership()
2166
15
                                    ? Inst->getForwardingOwnershipKind()
2167
15
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
15
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
1.34k
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
1.34k
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
1.34k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
1.34k
  recordClonedInstruction(
2162
1.34k
      Inst,
2163
1.34k
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
1.34k
                                getOpType(Inst->getType()), Elements,
2165
1.34k
                                getBuilder().hasOwnership()
2166
1.34k
                                    ? Inst->getForwardingOwnershipKind()
2167
1.34k
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
1.34k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
80
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
80
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
80
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
80
  recordClonedInstruction(
2162
80
      Inst,
2163
80
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
80
                                getOpType(Inst->getType()), Elements,
2165
80
                                getBuilder().hasOwnership()
2166
80
                                    ? Inst->getForwardingOwnershipKind()
2167
80
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
80
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
8.15k
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
8.15k
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
8.15k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
8.15k
  recordClonedInstruction(
2162
8.15k
      Inst,
2163
8.15k
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
8.15k
                                getOpType(Inst->getType()), Elements,
2165
8.15k
                                getBuilder().hasOwnership()
2166
8.15k
                                    ? Inst->getForwardingOwnershipKind()
2167
8.15k
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
8.15k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
13
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
13
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
13
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
13
  recordClonedInstruction(
2162
13
      Inst,
2163
13
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
13
                                getOpType(Inst->getType()), Elements,
2165
13
                                getBuilder().hasOwnership()
2166
13
                                    ? Inst->getForwardingOwnershipKind()
2167
13
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
13
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitStructInstEPNS_10StructInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
40
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
40
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
40
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
40
  recordClonedInstruction(
2162
40
      Inst,
2163
40
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
40
                                getOpType(Inst->getType()), Elements,
2165
40
                                getBuilder().hasOwnership()
2166
40
                                    ? Inst->getForwardingOwnershipKind()
2167
40
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
40
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
18
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
18
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
18
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
18
  recordClonedInstruction(
2162
18
      Inst,
2163
18
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
18
                                getOpType(Inst->getType()), Elements,
2165
18
                                getBuilder().hasOwnership()
2166
18
                                    ? Inst->getForwardingOwnershipKind()
2167
18
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
18
}
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitStructInstEPNS_10StructInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitStructInstEPNS_10StructInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
3.49k
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
3.49k
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
3.49k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
3.49k
  recordClonedInstruction(
2162
3.49k
      Inst,
2163
3.49k
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
3.49k
                                getOpType(Inst->getType()), Elements,
2165
3.49k
                                getBuilder().hasOwnership()
2166
3.49k
                                    ? Inst->getForwardingOwnershipKind()
2167
3.49k
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
3.49k
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
1.02k
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
1.02k
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
1.02k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
1.02k
  recordClonedInstruction(
2162
1.02k
      Inst,
2163
1.02k
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
1.02k
                                getOpType(Inst->getType()), Elements,
2165
1.02k
                                getBuilder().hasOwnership()
2166
1.02k
                                    ? Inst->getForwardingOwnershipKind()
2167
1.02k
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
1.02k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitStructInstEPNS_10StructInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
10
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
10
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
10
  recordClonedInstruction(
2162
10
      Inst,
2163
10
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
10
                                getOpType(Inst->getType()), Elements,
2165
10
                                getBuilder().hasOwnership()
2166
10
                                    ? Inst->getForwardingOwnershipKind()
2167
10
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
10
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitStructInstEPNS_10StructInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitStructInstEPNS_10StructInstE
_ZN5swift9SILClonerINS_13GenericClonerEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
200k
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
200k
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
200k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
200k
  recordClonedInstruction(
2162
200k
      Inst,
2163
200k
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
200k
                                getOpType(Inst->getType()), Elements,
2165
200k
                                getBuilder().hasOwnership()
2166
200k
                                    ? Inst->getForwardingOwnershipKind()
2167
200k
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
200k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
689k
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
689k
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
689k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
689k
  recordClonedInstruction(
2162
689k
      Inst,
2163
689k
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
689k
                                getOpType(Inst->getType()), Elements,
2165
689k
                                getBuilder().hasOwnership()
2166
689k
                                    ? Inst->getForwardingOwnershipKind()
2167
689k
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
689k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitStructInstEPNS_10StructInstE
Line
Count
Source
2158
242
SILCloner<ImplClass>::visitStructInst(StructInst *Inst) {
2159
242
  auto Elements = getOpValueArray<8>(Inst->getElements());
2160
242
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2161
242
  recordClonedInstruction(
2162
242
      Inst,
2163
242
      getBuilder().createStruct(getOpLocation(Inst->getLoc()),
2164
242
                                getOpType(Inst->getType()), Elements,
2165
242
                                getBuilder().hasOwnership()
2166
242
                                    ? Inst->getForwardingOwnershipKind()
2167
242
                                    : ValueOwnershipKind(OwnershipKind::None)));
2168
242
}
2169
2170
template<typename ImplClass>
2171
void
2172
75.6k
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
75.6k
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
75.6k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
75.6k
  recordClonedInstruction(
2176
75.6k
      Inst,
2177
75.6k
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
75.6k
                               getOpType(Inst->getType()), Elements,
2179
75.6k
                               getBuilder().hasOwnership()
2180
75.6k
                                   ? Inst->getForwardingOwnershipKind()
2181
75.6k
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
75.6k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14visitTupleInstEPNS_9TupleInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE14visitTupleInstEPNS_9TupleInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
49
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
49
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
49
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
49
  recordClonedInstruction(
2176
49
      Inst,
2177
49
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
49
                               getOpType(Inst->getType()), Elements,
2179
49
                               getBuilder().hasOwnership()
2180
49
                                   ? Inst->getForwardingOwnershipKind()
2181
49
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
49
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
418
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
418
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
418
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
418
  recordClonedInstruction(
2176
418
      Inst,
2177
418
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
418
                               getOpType(Inst->getType()), Elements,
2179
418
                               getBuilder().hasOwnership()
2180
418
                                   ? Inst->getForwardingOwnershipKind()
2181
418
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
418
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
25
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
25
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
25
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
25
  recordClonedInstruction(
2176
25
      Inst,
2177
25
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
25
                               getOpType(Inst->getType()), Elements,
2179
25
                               getBuilder().hasOwnership()
2180
25
                                   ? Inst->getForwardingOwnershipKind()
2181
25
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
25
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
12
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
12
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
12
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
12
  recordClonedInstruction(
2176
12
      Inst,
2177
12
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
12
                               getOpType(Inst->getType()), Elements,
2179
12
                               getBuilder().hasOwnership()
2180
12
                                   ? Inst->getForwardingOwnershipKind()
2181
12
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
12
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
187
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
187
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
187
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
187
  recordClonedInstruction(
2176
187
      Inst,
2177
187
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
187
                               getOpType(Inst->getType()), Elements,
2179
187
                               getBuilder().hasOwnership()
2180
187
                                   ? Inst->getForwardingOwnershipKind()
2181
187
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
187
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
6
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
6
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
6
  recordClonedInstruction(
2176
6
      Inst,
2177
6
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
6
                               getOpType(Inst->getType()), Elements,
2179
6
                               getBuilder().hasOwnership()
2180
6
                                   ? Inst->getForwardingOwnershipKind()
2181
6
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
6
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14visitTupleInstEPNS_9TupleInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14visitTupleInstEPNS_9TupleInstE
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
36
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
36
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
36
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
36
  recordClonedInstruction(
2176
36
      Inst,
2177
36
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
36
                               getOpType(Inst->getType()), Elements,
2179
36
                               getBuilder().hasOwnership()
2180
36
                                   ? Inst->getForwardingOwnershipKind()
2181
36
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
36
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
2
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
2
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
2
  recordClonedInstruction(
2176
2
      Inst,
2177
2
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
2
                               getOpType(Inst->getType()), Elements,
2179
2
                               getBuilder().hasOwnership()
2180
2
                                   ? Inst->getForwardingOwnershipKind()
2181
2
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
2
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14visitTupleInstEPNS_9TupleInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
4
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
4
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
4
  recordClonedInstruction(
2176
4
      Inst,
2177
4
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
4
                               getOpType(Inst->getType()), Elements,
2179
4
                               getBuilder().hasOwnership()
2180
4
                                   ? Inst->getForwardingOwnershipKind()
2181
4
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
4
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14visitTupleInstEPNS_9TupleInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14visitTupleInstEPNS_9TupleInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
3
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
3
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
3
  recordClonedInstruction(
2176
3
      Inst,
2177
3
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
3
                               getOpType(Inst->getType()), Elements,
2179
3
                               getBuilder().hasOwnership()
2180
3
                                   ? Inst->getForwardingOwnershipKind()
2181
3
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
3
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE14visitTupleInstEPNS_9TupleInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14visitTupleInstEPNS_9TupleInstE
_ZN5swift9SILClonerINS_13GenericClonerEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
12.3k
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
12.3k
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
12.3k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
12.3k
  recordClonedInstruction(
2176
12.3k
      Inst,
2177
12.3k
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
12.3k
                               getOpType(Inst->getType()), Elements,
2179
12.3k
                               getBuilder().hasOwnership()
2180
12.3k
                                   ? Inst->getForwardingOwnershipKind()
2181
12.3k
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
12.3k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE14visitTupleInstEPNS_9TupleInstE
Line
Count
Source
2172
62.5k
SILCloner<ImplClass>::visitTupleInst(TupleInst *Inst) {
2173
62.5k
  auto Elements = getOpValueArray<8>(Inst->getElements());
2174
62.5k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2175
62.5k
  recordClonedInstruction(
2176
62.5k
      Inst,
2177
62.5k
      getBuilder().createTuple(getOpLocation(Inst->getLoc()),
2178
62.5k
                               getOpType(Inst->getType()), Elements,
2179
62.5k
                               getBuilder().hasOwnership()
2180
62.5k
                                   ? Inst->getForwardingOwnershipKind()
2181
62.5k
                                   : ValueOwnershipKind(OwnershipKind::None)));
2182
62.5k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE14visitTupleInstEPNS_9TupleInstE
2183
2184
template<typename ImplClass>
2185
void
2186
23.3k
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
23.3k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
23.3k
  recordClonedInstruction(
2189
23.3k
      Inst,
2190
23.3k
      getBuilder().createEnum(
2191
23.3k
          getOpLocation(Inst->getLoc()),
2192
23.3k
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
23.3k
          Inst->getElement(), getOpType(Inst->getType()),
2194
23.3k
          getBuilder().hasOwnership()
2195
23.3k
              ? Inst->getForwardingOwnershipKind()
2196
23.3k
              : ValueOwnershipKind(OwnershipKind::None)));
2197
23.3k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE13visitEnumInstEPNS_8EnumInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE13visitEnumInstEPNS_8EnumInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE13visitEnumInstEPNS_8EnumInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
17
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
17
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
17
  recordClonedInstruction(
2189
17
      Inst,
2190
17
      getBuilder().createEnum(
2191
17
          getOpLocation(Inst->getLoc()),
2192
17
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
17
          Inst->getElement(), getOpType(Inst->getType()),
2194
17
          getBuilder().hasOwnership()
2195
17
              ? Inst->getForwardingOwnershipKind()
2196
17
              : ValueOwnershipKind(OwnershipKind::None)));
2197
17
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
675
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
675
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
675
  recordClonedInstruction(
2189
675
      Inst,
2190
675
      getBuilder().createEnum(
2191
675
          getOpLocation(Inst->getLoc()),
2192
675
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
675
          Inst->getElement(), getOpType(Inst->getType()),
2194
675
          getBuilder().hasOwnership()
2195
675
              ? Inst->getForwardingOwnershipKind()
2196
675
              : ValueOwnershipKind(OwnershipKind::None)));
2197
675
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
10
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
10
  recordClonedInstruction(
2189
10
      Inst,
2190
10
      getBuilder().createEnum(
2191
10
          getOpLocation(Inst->getLoc()),
2192
10
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
10
          Inst->getElement(), getOpType(Inst->getType()),
2194
10
          getBuilder().hasOwnership()
2195
10
              ? Inst->getForwardingOwnershipKind()
2196
10
              : ValueOwnershipKind(OwnershipKind::None)));
2197
10
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
266
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
266
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
266
  recordClonedInstruction(
2189
266
      Inst,
2190
266
      getBuilder().createEnum(
2191
266
          getOpLocation(Inst->getLoc()),
2192
266
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
266
          Inst->getElement(), getOpType(Inst->getType()),
2194
266
          getBuilder().hasOwnership()
2195
266
              ? Inst->getForwardingOwnershipKind()
2196
266
              : ValueOwnershipKind(OwnershipKind::None)));
2197
266
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
4
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
4
  recordClonedInstruction(
2189
4
      Inst,
2190
4
      getBuilder().createEnum(
2191
4
          getOpLocation(Inst->getLoc()),
2192
4
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
4
          Inst->getElement(), getOpType(Inst->getType()),
2194
4
          getBuilder().hasOwnership()
2195
4
              ? Inst->getForwardingOwnershipKind()
2196
4
              : ValueOwnershipKind(OwnershipKind::None)));
2197
4
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE13visitEnumInstEPNS_8EnumInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
8
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
8
  recordClonedInstruction(
2189
8
      Inst,
2190
8
      getBuilder().createEnum(
2191
8
          getOpLocation(Inst->getLoc()),
2192
8
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
8
          Inst->getElement(), getOpType(Inst->getType()),
2194
8
          getBuilder().hasOwnership()
2195
8
              ? Inst->getForwardingOwnershipKind()
2196
8
              : ValueOwnershipKind(OwnershipKind::None)));
2197
8
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
36
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
36
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
36
  recordClonedInstruction(
2189
36
      Inst,
2190
36
      getBuilder().createEnum(
2191
36
          getOpLocation(Inst->getLoc()),
2192
36
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
36
          Inst->getElement(), getOpType(Inst->getType()),
2194
36
          getBuilder().hasOwnership()
2195
36
              ? Inst->getForwardingOwnershipKind()
2196
36
              : ValueOwnershipKind(OwnershipKind::None)));
2197
36
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
4
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
4
  recordClonedInstruction(
2189
4
      Inst,
2190
4
      getBuilder().createEnum(
2191
4
          getOpLocation(Inst->getLoc()),
2192
4
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
4
          Inst->getElement(), getOpType(Inst->getType()),
2194
4
          getBuilder().hasOwnership()
2195
4
              ? Inst->getForwardingOwnershipKind()
2196
4
              : ValueOwnershipKind(OwnershipKind::None)));
2197
4
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE13visitEnumInstEPNS_8EnumInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
487
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
487
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
487
  recordClonedInstruction(
2189
487
      Inst,
2190
487
      getBuilder().createEnum(
2191
487
          getOpLocation(Inst->getLoc()),
2192
487
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
487
          Inst->getElement(), getOpType(Inst->getType()),
2194
487
          getBuilder().hasOwnership()
2195
487
              ? Inst->getForwardingOwnershipKind()
2196
487
              : ValueOwnershipKind(OwnershipKind::None)));
2197
487
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
636
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
636
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
636
  recordClonedInstruction(
2189
636
      Inst,
2190
636
      getBuilder().createEnum(
2191
636
          getOpLocation(Inst->getLoc()),
2192
636
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
636
          Inst->getElement(), getOpType(Inst->getType()),
2194
636
          getBuilder().hasOwnership()
2195
636
              ? Inst->getForwardingOwnershipKind()
2196
636
              : ValueOwnershipKind(OwnershipKind::None)));
2197
636
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE13visitEnumInstEPNS_8EnumInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
2
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
2
  recordClonedInstruction(
2189
2
      Inst,
2190
2
      getBuilder().createEnum(
2191
2
          getOpLocation(Inst->getLoc()),
2192
2
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
2
          Inst->getElement(), getOpType(Inst->getType()),
2194
2
          getBuilder().hasOwnership()
2195
2
              ? Inst->getForwardingOwnershipKind()
2196
2
              : ValueOwnershipKind(OwnershipKind::None)));
2197
2
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE13visitEnumInstEPNS_8EnumInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE13visitEnumInstEPNS_8EnumInstE
_ZN5swift9SILClonerINS_13GenericClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
6.96k
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
6.96k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
6.96k
  recordClonedInstruction(
2189
6.96k
      Inst,
2190
6.96k
      getBuilder().createEnum(
2191
6.96k
          getOpLocation(Inst->getLoc()),
2192
6.96k
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
6.96k
          Inst->getElement(), getOpType(Inst->getType()),
2194
6.96k
          getBuilder().hasOwnership()
2195
6.96k
              ? Inst->getForwardingOwnershipKind()
2196
6.96k
              : ValueOwnershipKind(OwnershipKind::None)));
2197
6.96k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
14.1k
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
14.1k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
14.1k
  recordClonedInstruction(
2189
14.1k
      Inst,
2190
14.1k
      getBuilder().createEnum(
2191
14.1k
          getOpLocation(Inst->getLoc()),
2192
14.1k
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
14.1k
          Inst->getElement(), getOpType(Inst->getType()),
2194
14.1k
          getBuilder().hasOwnership()
2195
14.1k
              ? Inst->getForwardingOwnershipKind()
2196
14.1k
              : ValueOwnershipKind(OwnershipKind::None)));
2197
14.1k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE13visitEnumInstEPNS_8EnumInstE
Line
Count
Source
2186
53
SILCloner<ImplClass>::visitEnumInst(EnumInst *Inst) {
2187
53
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2188
53
  recordClonedInstruction(
2189
53
      Inst,
2190
53
      getBuilder().createEnum(
2191
53
          getOpLocation(Inst->getLoc()),
2192
53
          Inst->hasOperand() ? getOpValue(Inst->getOperand()) : SILValue(),
2193
53
          Inst->getElement(), getOpType(Inst->getType()),
2194
53
          getBuilder().hasOwnership()
2195
53
              ? Inst->getForwardingOwnershipKind()
2196
53
              : ValueOwnershipKind(OwnershipKind::None)));
2197
53
}
2198
  
2199
template<typename ImplClass>
2200
void
2201
5.97k
SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) {
2202
5.97k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2203
5.97k
  recordClonedInstruction(
2204
5.97k
      Inst, getBuilder().createInitEnumDataAddr(
2205
5.97k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2206
5.97k
                Inst->getElement(), getOpType(Inst->getType())));
2207
5.97k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Line
Count
Source
2201
3
SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) {
2202
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2203
3
  recordClonedInstruction(
2204
3
      Inst, getBuilder().createInitEnumDataAddr(
2205
3
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2206
3
                Inst->getElement(), getOpType(Inst->getType())));
2207
3
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Line
Count
Source
2201
24
SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) {
2202
24
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2203
24
  recordClonedInstruction(
2204
24
      Inst, getBuilder().createInitEnumDataAddr(
2205
24
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2206
24
                Inst->getElement(), getOpType(Inst->getType())));
2207
24
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Line
Count
Source
2201
95
SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) {
2202
95
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2203
95
  recordClonedInstruction(
2204
95
      Inst, getBuilder().createInitEnumDataAddr(
2205
95
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2206
95
                Inst->getElement(), getOpType(Inst->getType())));
2207
95
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Line
Count
Source
2201
672
SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) {
2202
672
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2203
672
  recordClonedInstruction(
2204
672
      Inst, getBuilder().createInitEnumDataAddr(
2205
672
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2206
672
                Inst->getElement(), getOpType(Inst->getType())));
2207
672
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Line
Count
Source
2201
1
SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) {
2202
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2203
1
  recordClonedInstruction(
2204
1
      Inst, getBuilder().createInitEnumDataAddr(
2205
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2206
1
                Inst->getElement(), getOpType(Inst->getType())));
2207
1
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Line
Count
Source
2201
2.06k
SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) {
2202
2.06k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2203
2.06k
  recordClonedInstruction(
2204
2.06k
      Inst, getBuilder().createInitEnumDataAddr(
2205
2.06k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2206
2.06k
                Inst->getElement(), getOpType(Inst->getType())));
2207
2.06k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
Line
Count
Source
2201
3.11k
SILCloner<ImplClass>::visitInitEnumDataAddrInst(InitEnumDataAddrInst *Inst) {
2202
3.11k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2203
3.11k
  recordClonedInstruction(
2204
3.11k
      Inst, getBuilder().createInitEnumDataAddr(
2205
3.11k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2206
3.11k
                Inst->getElement(), getOpType(Inst->getType())));
2207
3.11k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitInitEnumDataAddrInstEPNS_20InitEnumDataAddrInstE
2208
  
2209
template<typename ImplClass>
2210
void
2211
3.30k
SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) {
2212
3.30k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2213
3.30k
  recordClonedInstruction(
2214
3.30k
      Inst, getBuilder().createUncheckedEnumData(
2215
3.30k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2216
3.30k
                Inst->getElement(), getOpType(Inst->getType()),
2217
3.30k
                getBuilder().hasOwnership()
2218
3.30k
                    ? Inst->getForwardingOwnershipKind()
2219
3.30k
                    : ValueOwnershipKind(OwnershipKind::None)));
2220
3.30k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Line
Count
Source
2211
25
SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) {
2212
25
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2213
25
  recordClonedInstruction(
2214
25
      Inst, getBuilder().createUncheckedEnumData(
2215
25
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2216
25
                Inst->getElement(), getOpType(Inst->getType()),
2217
25
                getBuilder().hasOwnership()
2218
25
                    ? Inst->getForwardingOwnershipKind()
2219
25
                    : ValueOwnershipKind(OwnershipKind::None)));
2220
25
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Line
Count
Source
2211
171
SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) {
2212
171
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2213
171
  recordClonedInstruction(
2214
171
      Inst, getBuilder().createUncheckedEnumData(
2215
171
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2216
171
                Inst->getElement(), getOpType(Inst->getType()),
2217
171
                getBuilder().hasOwnership()
2218
171
                    ? Inst->getForwardingOwnershipKind()
2219
171
                    : ValueOwnershipKind(OwnershipKind::None)));
2220
171
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Line
Count
Source
2211
8
SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) {
2212
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2213
8
  recordClonedInstruction(
2214
8
      Inst, getBuilder().createUncheckedEnumData(
2215
8
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2216
8
                Inst->getElement(), getOpType(Inst->getType()),
2217
8
                getBuilder().hasOwnership()
2218
8
                    ? Inst->getForwardingOwnershipKind()
2219
8
                    : ValueOwnershipKind(OwnershipKind::None)));
2220
8
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
_ZN5swift9SILClonerINS_13GenericClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Line
Count
Source
2211
787
SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) {
2212
787
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2213
787
  recordClonedInstruction(
2214
787
      Inst, getBuilder().createUncheckedEnumData(
2215
787
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2216
787
                Inst->getElement(), getOpType(Inst->getType()),
2217
787
                getBuilder().hasOwnership()
2218
787
                    ? Inst->getForwardingOwnershipKind()
2219
787
                    : ValueOwnershipKind(OwnershipKind::None)));
2220
787
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Line
Count
Source
2211
2.30k
SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) {
2212
2.30k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2213
2.30k
  recordClonedInstruction(
2214
2.30k
      Inst, getBuilder().createUncheckedEnumData(
2215
2.30k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2216
2.30k
                Inst->getElement(), getOpType(Inst->getType()),
2217
2.30k
                getBuilder().hasOwnership()
2218
2.30k
                    ? Inst->getForwardingOwnershipKind()
2219
2.30k
                    : ValueOwnershipKind(OwnershipKind::None)));
2220
2.30k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitUncheckedEnumDataInstEPNS_21UncheckedEnumDataInstE
Line
Count
Source
2211
13
SILCloner<ImplClass>::visitUncheckedEnumDataInst(UncheckedEnumDataInst *Inst) {
2212
13
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2213
13
  recordClonedInstruction(
2214
13
      Inst, getBuilder().createUncheckedEnumData(
2215
13
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2216
13
                Inst->getElement(), getOpType(Inst->getType()),
2217
13
                getBuilder().hasOwnership()
2218
13
                    ? Inst->getForwardingOwnershipKind()
2219
13
                    : ValueOwnershipKind(OwnershipKind::None)));
2220
13
}
2221
  
2222
template<typename ImplClass>
2223
void
2224
2.25k
SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) {
2225
2.25k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2226
2.25k
  recordClonedInstruction(
2227
2.25k
      Inst, getBuilder().createUncheckedTakeEnumDataAddr(
2228
2.25k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2229
2.25k
                Inst->getElement(), getOpType(Inst->getType())));
2230
2.25k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Line
Count
Source
2224
33
SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) {
2225
33
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2226
33
  recordClonedInstruction(
2227
33
      Inst, getBuilder().createUncheckedTakeEnumDataAddr(
2228
33
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2229
33
                Inst->getElement(), getOpType(Inst->getType())));
2230
33
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Line
Count
Source
2224
10
SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) {
2225
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2226
10
  recordClonedInstruction(
2227
10
      Inst, getBuilder().createUncheckedTakeEnumDataAddr(
2228
10
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2229
10
                Inst->getElement(), getOpType(Inst->getType())));
2230
10
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Line
Count
Source
2224
21
SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) {
2225
21
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2226
21
  recordClonedInstruction(
2227
21
      Inst, getBuilder().createUncheckedTakeEnumDataAddr(
2228
21
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2229
21
                Inst->getElement(), getOpType(Inst->getType())));
2230
21
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Line
Count
Source
2224
1
SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) {
2225
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2226
1
  recordClonedInstruction(
2227
1
      Inst, getBuilder().createUncheckedTakeEnumDataAddr(
2228
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2229
1
                Inst->getElement(), getOpType(Inst->getType())));
2230
1
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Line
Count
Source
2224
2
SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) {
2225
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2226
2
  recordClonedInstruction(
2227
2
      Inst, getBuilder().createUncheckedTakeEnumDataAddr(
2228
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2229
2
                Inst->getElement(), getOpType(Inst->getType())));
2230
2
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Line
Count
Source
2224
1.59k
SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) {
2225
1.59k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2226
1.59k
  recordClonedInstruction(
2227
1.59k
      Inst, getBuilder().createUncheckedTakeEnumDataAddr(
2228
1.59k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2229
1.59k
                Inst->getElement(), getOpType(Inst->getType())));
2230
1.59k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
Line
Count
Source
2224
597
SILCloner<ImplClass>::visitUncheckedTakeEnumDataAddrInst(UncheckedTakeEnumDataAddrInst *Inst) {
2225
597
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2226
597
  recordClonedInstruction(
2227
597
      Inst, getBuilder().createUncheckedTakeEnumDataAddr(
2228
597
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2229
597
                Inst->getElement(), getOpType(Inst->getType())));
2230
597
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE34visitUncheckedTakeEnumDataAddrInstEPNS_29UncheckedTakeEnumDataAddrInstE
2231
  
2232
template<typename ImplClass>
2233
void
2234
9.19k
SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) {
2235
9.19k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2236
9.19k
  recordClonedInstruction(
2237
9.19k
      Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()),
2238
9.19k
                                              getOpValue(Inst->getOperand()),
2239
9.19k
                                              Inst->getElement()));
2240
9.19k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Line
Count
Source
2234
4
SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) {
2235
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2236
4
  recordClonedInstruction(
2237
4
      Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()),
2238
4
                                              getOpValue(Inst->getOperand()),
2239
4
                                              Inst->getElement()));
2240
4
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Line
Count
Source
2234
24
SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) {
2235
24
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2236
24
  recordClonedInstruction(
2237
24
      Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()),
2238
24
                                              getOpValue(Inst->getOperand()),
2239
24
                                              Inst->getElement()));
2240
24
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Line
Count
Source
2234
103
SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) {
2235
103
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2236
103
  recordClonedInstruction(
2237
103
      Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()),
2238
103
                                              getOpValue(Inst->getOperand()),
2239
103
                                              Inst->getElement()));
2240
103
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Line
Count
Source
2234
2
SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) {
2235
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2236
2
  recordClonedInstruction(
2237
2
      Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()),
2238
2
                                              getOpValue(Inst->getOperand()),
2239
2
                                              Inst->getElement()));
2240
2
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Line
Count
Source
2234
4.17k
SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) {
2235
4.17k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2236
4.17k
  recordClonedInstruction(
2237
4.17k
      Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()),
2238
4.17k
                                              getOpValue(Inst->getOperand()),
2239
4.17k
                                              Inst->getElement()));
2240
4.17k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
Line
Count
Source
2234
4.88k
SILCloner<ImplClass>::visitInjectEnumAddrInst(InjectEnumAddrInst *Inst) {
2235
4.88k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2236
4.88k
  recordClonedInstruction(
2237
4.88k
      Inst, getBuilder().createInjectEnumAddr(getOpLocation(Inst->getLoc()),
2238
4.88k
                                              getOpValue(Inst->getOperand()),
2239
4.88k
                                              Inst->getElement()));
2240
4.88k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitInjectEnumAddrInstEPNS_18InjectEnumAddrInstE
2241
  
2242
template<typename ImplClass>
2243
void
2244
46.7k
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
46.7k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
46.7k
  recordClonedInstruction(
2247
46.7k
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
46.7k
                                        getOpType(Inst->getType())));
2249
46.7k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitMetatypeInstEPNS_12MetatypeInstE
Line
Count
Source
2244
420
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
420
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
420
  recordClonedInstruction(
2247
420
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
420
                                        getOpType(Inst->getType())));
2249
420
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitMetatypeInstEPNS_12MetatypeInstE
Line
Count
Source
2244
1.57k
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
1.57k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
1.57k
  recordClonedInstruction(
2247
1.57k
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
1.57k
                                        getOpType(Inst->getType())));
2249
1.57k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Line
Count
Source
2244
125
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
125
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
125
  recordClonedInstruction(
2247
125
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
125
                                        getOpType(Inst->getType())));
2249
125
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Line
Count
Source
2244
193
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
193
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
193
  recordClonedInstruction(
2247
193
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
193
                                        getOpType(Inst->getType())));
2249
193
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitMetatypeInstEPNS_12MetatypeInstE
Line
Count
Source
2244
3
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
3
  recordClonedInstruction(
2247
3
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
3
                                        getOpType(Inst->getType())));
2249
3
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Line
Count
Source
2244
8
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
8
  recordClonedInstruction(
2247
8
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
8
                                        getOpType(Inst->getType())));
2249
8
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Line
Count
Source
2244
204
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
204
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
204
  recordClonedInstruction(
2247
204
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
204
                                        getOpType(Inst->getType())));
2249
204
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitMetatypeInstEPNS_12MetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Line
Count
Source
2244
74
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
74
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
74
  recordClonedInstruction(
2247
74
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
74
                                        getOpType(Inst->getType())));
2249
74
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitMetatypeInstEPNS_12MetatypeInstE
_ZN5swift9SILClonerINS_13GenericClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Line
Count
Source
2244
16.8k
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
16.8k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
16.8k
  recordClonedInstruction(
2247
16.8k
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
16.8k
                                        getOpType(Inst->getType())));
2249
16.8k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
Line
Count
Source
2244
27.3k
SILCloner<ImplClass>::visitMetatypeInst(MetatypeInst *Inst) {
2245
27.3k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2246
27.3k
  recordClonedInstruction(
2247
27.3k
      Inst, getBuilder().createMetatype(getOpLocation(Inst->getLoc()),
2248
27.3k
                                        getOpType(Inst->getType())));
2249
27.3k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitMetatypeInstEPNS_12MetatypeInstE
2250
2251
template<typename ImplClass>
2252
void
2253
41
SILCloner<ImplClass>::visitValueMetatypeInst(ValueMetatypeInst *Inst) {
2254
41
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2255
41
  recordClonedInstruction(
2256
41
      Inst, getBuilder().createValueMetatype(getOpLocation(Inst->getLoc()),
2257
41
                                             getOpType(Inst->getType()),
2258
41
                                             getOpValue(Inst->getOperand())));
2259
41
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Line
Count
Source
2253
8
SILCloner<ImplClass>::visitValueMetatypeInst(ValueMetatypeInst *Inst) {
2254
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2255
8
  recordClonedInstruction(
2256
8
      Inst, getBuilder().createValueMetatype(getOpLocation(Inst->getLoc()),
2257
8
                                             getOpType(Inst->getType()),
2258
8
                                             getOpValue(Inst->getOperand())));
2259
8
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
_ZN5swift9SILClonerINS_13GenericClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Line
Count
Source
2253
14
SILCloner<ImplClass>::visitValueMetatypeInst(ValueMetatypeInst *Inst) {
2254
14
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2255
14
  recordClonedInstruction(
2256
14
      Inst, getBuilder().createValueMetatype(getOpLocation(Inst->getLoc()),
2257
14
                                             getOpType(Inst->getType()),
2258
14
                                             getOpValue(Inst->getOperand())));
2259
14
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
Line
Count
Source
2253
19
SILCloner<ImplClass>::visitValueMetatypeInst(ValueMetatypeInst *Inst) {
2254
19
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2255
19
  recordClonedInstruction(
2256
19
      Inst, getBuilder().createValueMetatype(getOpLocation(Inst->getLoc()),
2257
19
                                             getOpType(Inst->getType()),
2258
19
                                             getOpValue(Inst->getOperand())));
2259
19
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitValueMetatypeInstEPNS_17ValueMetatypeInstE
2260
2261
template<typename ImplClass>
2262
void
2263
SILCloner<ImplClass>::
2264
1.04k
visitExistentialMetatypeInst(ExistentialMetatypeInst *Inst) {
2265
1.04k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2266
1.04k
  recordClonedInstruction(Inst, getBuilder().createExistentialMetatype(
2267
1.04k
                                    getOpLocation(Inst->getLoc()),
2268
1.04k
                                    getOpType(Inst->getType()),
2269
1.04k
                                    getOpValue(Inst->getOperand())));
2270
1.04k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Line
Count
Source
2264
1
visitExistentialMetatypeInst(ExistentialMetatypeInst *Inst) {
2265
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2266
1
  recordClonedInstruction(Inst, getBuilder().createExistentialMetatype(
2267
1
                                    getOpLocation(Inst->getLoc()),
2268
1
                                    getOpType(Inst->getType()),
2269
1
                                    getOpValue(Inst->getOperand())));
2270
1
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Line
Count
Source
2264
4
visitExistentialMetatypeInst(ExistentialMetatypeInst *Inst) {
2265
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2266
4
  recordClonedInstruction(Inst, getBuilder().createExistentialMetatype(
2267
4
                                    getOpLocation(Inst->getLoc()),
2268
4
                                    getOpType(Inst->getType()),
2269
4
                                    getOpValue(Inst->getOperand())));
2270
4
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
_ZN5swift9SILClonerINS_13GenericClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Line
Count
Source
2264
965
visitExistentialMetatypeInst(ExistentialMetatypeInst *Inst) {
2265
965
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2266
965
  recordClonedInstruction(Inst, getBuilder().createExistentialMetatype(
2267
965
                                    getOpLocation(Inst->getLoc()),
2268
965
                                    getOpType(Inst->getType()),
2269
965
                                    getOpValue(Inst->getOperand())));
2270
965
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
Line
Count
Source
2264
73
visitExistentialMetatypeInst(ExistentialMetatypeInst *Inst) {
2265
73
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2266
73
  recordClonedInstruction(Inst, getBuilder().createExistentialMetatype(
2267
73
                                    getOpLocation(Inst->getLoc()),
2268
73
                                    getOpType(Inst->getType()),
2269
73
                                    getOpValue(Inst->getOperand())));
2270
73
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitExistentialMetatypeInstEPNS_23ExistentialMetatypeInstE
2271
2272
template<typename ImplClass>
2273
void
2274
117k
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
117k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
117k
  recordClonedInstruction(
2277
117k
      Inst, getBuilder().createTupleExtract(
2278
117k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
117k
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
117k
                getBuilder().hasOwnership()
2281
117k
                    ? Inst->getForwardingOwnershipKind()
2282
117k
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
117k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitTupleExtractInstEPNS_16TupleExtractInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
4
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
4
  recordClonedInstruction(
2277
4
      Inst, getBuilder().createTupleExtract(
2278
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
4
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
4
                getBuilder().hasOwnership()
2281
4
                    ? Inst->getForwardingOwnershipKind()
2282
4
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
4
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
294
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
294
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
294
  recordClonedInstruction(
2277
294
      Inst, getBuilder().createTupleExtract(
2278
294
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
294
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
294
                getBuilder().hasOwnership()
2281
294
                    ? Inst->getForwardingOwnershipKind()
2282
294
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
294
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
21
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
21
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
21
  recordClonedInstruction(
2277
21
      Inst, getBuilder().createTupleExtract(
2278
21
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
21
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
21
                getBuilder().hasOwnership()
2281
21
                    ? Inst->getForwardingOwnershipKind()
2282
21
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
21
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
1.50k
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
1.50k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
1.50k
  recordClonedInstruction(
2277
1.50k
      Inst, getBuilder().createTupleExtract(
2278
1.50k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
1.50k
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
1.50k
                getBuilder().hasOwnership()
2281
1.50k
                    ? Inst->getForwardingOwnershipKind()
2282
1.50k
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
1.50k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
2
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
2
  recordClonedInstruction(
2277
2
      Inst, getBuilder().createTupleExtract(
2278
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
2
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
2
                getBuilder().hasOwnership()
2281
2
                    ? Inst->getForwardingOwnershipKind()
2282
2
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
2
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
18
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
18
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
18
  recordClonedInstruction(
2277
18
      Inst, getBuilder().createTupleExtract(
2278
18
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
18
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
18
                getBuilder().hasOwnership()
2281
18
                    ? Inst->getForwardingOwnershipKind()
2282
18
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
18
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
5.22k
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
5.22k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
5.22k
  recordClonedInstruction(
2277
5.22k
      Inst, getBuilder().createTupleExtract(
2278
5.22k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
5.22k
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
5.22k
                getBuilder().hasOwnership()
2281
5.22k
                    ? Inst->getForwardingOwnershipKind()
2282
5.22k
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
5.22k
}
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
54
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
54
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
54
  recordClonedInstruction(
2277
54
      Inst, getBuilder().createTupleExtract(
2278
54
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
54
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
54
                getBuilder().hasOwnership()
2281
54
                    ? Inst->getForwardingOwnershipKind()
2282
54
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
54
}
_ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
68
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
68
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
68
  recordClonedInstruction(
2277
68
      Inst, getBuilder().createTupleExtract(
2278
68
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
68
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
68
                getBuilder().hasOwnership()
2281
68
                    ? Inst->getForwardingOwnershipKind()
2282
68
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
68
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitTupleExtractInstEPNS_16TupleExtractInstE
_ZN5swift9SILClonerINS_13GenericClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
10.1k
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
10.1k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
10.1k
  recordClonedInstruction(
2277
10.1k
      Inst, getBuilder().createTupleExtract(
2278
10.1k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
10.1k
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
10.1k
                getBuilder().hasOwnership()
2281
10.1k
                    ? Inst->getForwardingOwnershipKind()
2282
10.1k
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
10.1k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
99.9k
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
99.9k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
99.9k
  recordClonedInstruction(
2277
99.9k
      Inst, getBuilder().createTupleExtract(
2278
99.9k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
99.9k
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
99.9k
                getBuilder().hasOwnership()
2281
99.9k
                    ? Inst->getForwardingOwnershipKind()
2282
99.9k
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
99.9k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitTupleExtractInstEPNS_16TupleExtractInstE
Line
Count
Source
2274
225
SILCloner<ImplClass>::visitTupleExtractInst(TupleExtractInst *Inst) {
2275
225
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2276
225
  recordClonedInstruction(
2277
225
      Inst, getBuilder().createTupleExtract(
2278
225
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2279
225
                Inst->getFieldIndex(), getOpType(Inst->getType()),
2280
225
                getBuilder().hasOwnership()
2281
225
                    ? Inst->getForwardingOwnershipKind()
2282
225
                    : ValueOwnershipKind(OwnershipKind::None)));
2283
225
}
2284
2285
template<typename ImplClass>
2286
void
2287
9.24k
SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) {
2288
9.24k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2289
9.24k
  recordClonedInstruction(
2290
9.24k
      Inst, getBuilder().createTupleElementAddr(
2291
9.24k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2292
9.24k
                Inst->getFieldIndex(), getOpType(Inst->getType())));
2293
9.24k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Line
Count
Source
2287
82
SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) {
2288
82
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2289
82
  recordClonedInstruction(
2290
82
      Inst, getBuilder().createTupleElementAddr(
2291
82
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2292
82
                Inst->getFieldIndex(), getOpType(Inst->getType())));
2293
82
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Line
Count
Source
2287
364
SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) {
2288
364
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2289
364
  recordClonedInstruction(
2290
364
      Inst, getBuilder().createTupleElementAddr(
2291
364
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2292
364
                Inst->getFieldIndex(), getOpType(Inst->getType())));
2293
364
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Line
Count
Source
2287
44
SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) {
2288
44
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2289
44
  recordClonedInstruction(
2290
44
      Inst, getBuilder().createTupleElementAddr(
2291
44
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2292
44
                Inst->getFieldIndex(), getOpType(Inst->getType())));
2293
44
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Line
Count
Source
2287
6
SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) {
2288
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2289
6
  recordClonedInstruction(
2290
6
      Inst, getBuilder().createTupleElementAddr(
2291
6
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2292
6
                Inst->getFieldIndex(), getOpType(Inst->getType())));
2293
6
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Line
Count
Source
2287
92
SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) {
2288
92
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2289
92
  recordClonedInstruction(
2290
92
      Inst, getBuilder().createTupleElementAddr(
2291
92
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2292
92
                Inst->getFieldIndex(), getOpType(Inst->getType())));
2293
92
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Line
Count
Source
2287
4
SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) {
2288
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2289
4
  recordClonedInstruction(
2290
4
      Inst, getBuilder().createTupleElementAddr(
2291
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2292
4
                Inst->getFieldIndex(), getOpType(Inst->getType())));
2293
4
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Line
Count
Source
2287
4.59k
SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) {
2288
4.59k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2289
4.59k
  recordClonedInstruction(
2290
4.59k
      Inst, getBuilder().createTupleElementAddr(
2291
4.59k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2292
4.59k
                Inst->getFieldIndex(), getOpType(Inst->getType())));
2293
4.59k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
Line
Count
Source
2287
4.05k
SILCloner<ImplClass>::visitTupleElementAddrInst(TupleElementAddrInst *Inst) {
2288
4.05k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2289
4.05k
  recordClonedInstruction(
2290
4.05k
      Inst, getBuilder().createTupleElementAddr(
2291
4.05k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2292
4.05k
                Inst->getFieldIndex(), getOpType(Inst->getType())));
2293
4.05k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitTupleElementAddrInstEPNS_20TupleElementAddrInstE
2294
2295
template<typename ImplClass>
2296
void
2297
249k
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
249k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
249k
  recordClonedInstruction(
2300
249k
      Inst, getBuilder().createStructExtract(
2301
249k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
249k
                Inst->getField(), getOpType(Inst->getType()),
2303
249k
                getBuilder().hasOwnership()
2304
249k
                    ? Inst->getForwardingOwnershipKind()
2305
249k
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
249k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
55
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
55
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
55
  recordClonedInstruction(
2300
55
      Inst, getBuilder().createStructExtract(
2301
55
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
55
                Inst->getField(), getOpType(Inst->getType()),
2303
55
                getBuilder().hasOwnership()
2304
55
                    ? Inst->getForwardingOwnershipKind()
2305
55
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
55
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
213
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
213
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
213
  recordClonedInstruction(
2300
213
      Inst, getBuilder().createStructExtract(
2301
213
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
213
                Inst->getField(), getOpType(Inst->getType()),
2303
213
                getBuilder().hasOwnership()
2304
213
                    ? Inst->getForwardingOwnershipKind()
2305
213
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
213
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
2.03k
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
2.03k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
2.03k
  recordClonedInstruction(
2300
2.03k
      Inst, getBuilder().createStructExtract(
2301
2.03k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
2.03k
                Inst->getField(), getOpType(Inst->getType()),
2303
2.03k
                getBuilder().hasOwnership()
2304
2.03k
                    ? Inst->getForwardingOwnershipKind()
2305
2.03k
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
2.03k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
35
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
35
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
35
  recordClonedInstruction(
2300
35
      Inst, getBuilder().createStructExtract(
2301
35
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
35
                Inst->getField(), getOpType(Inst->getType()),
2303
35
                getBuilder().hasOwnership()
2304
35
                    ? Inst->getForwardingOwnershipKind()
2305
35
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
35
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
2.56k
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
2.56k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
2.56k
  recordClonedInstruction(
2300
2.56k
      Inst, getBuilder().createStructExtract(
2301
2.56k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
2.56k
                Inst->getField(), getOpType(Inst->getType()),
2303
2.56k
                getBuilder().hasOwnership()
2304
2.56k
                    ? Inst->getForwardingOwnershipKind()
2305
2.56k
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
2.56k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
30
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
30
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
30
  recordClonedInstruction(
2300
30
      Inst, getBuilder().createStructExtract(
2301
30
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
30
                Inst->getField(), getOpType(Inst->getType()),
2303
30
                getBuilder().hasOwnership()
2304
30
                    ? Inst->getForwardingOwnershipKind()
2305
30
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
30
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
26
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
26
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
26
  recordClonedInstruction(
2300
26
      Inst, getBuilder().createStructExtract(
2301
26
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
26
                Inst->getField(), getOpType(Inst->getType()),
2303
26
                getBuilder().hasOwnership()
2304
26
                    ? Inst->getForwardingOwnershipKind()
2305
26
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
26
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
1.36k
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
1.36k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
1.36k
  recordClonedInstruction(
2300
1.36k
      Inst, getBuilder().createStructExtract(
2301
1.36k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
1.36k
                Inst->getField(), getOpType(Inst->getType()),
2303
1.36k
                getBuilder().hasOwnership()
2304
1.36k
                    ? Inst->getForwardingOwnershipKind()
2305
1.36k
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
1.36k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitStructExtractInstEPNS_17StructExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
13
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
13
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
13
  recordClonedInstruction(
2300
13
      Inst, getBuilder().createStructExtract(
2301
13
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
13
                Inst->getField(), getOpType(Inst->getType()),
2303
13
                getBuilder().hasOwnership()
2304
13
                    ? Inst->getForwardingOwnershipKind()
2305
13
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
13
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitStructExtractInstEPNS_17StructExtractInstE
_ZN5swift9SILClonerINS_13GenericClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
80.1k
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
80.1k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
80.1k
  recordClonedInstruction(
2300
80.1k
      Inst, getBuilder().createStructExtract(
2301
80.1k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
80.1k
                Inst->getField(), getOpType(Inst->getType()),
2303
80.1k
                getBuilder().hasOwnership()
2304
80.1k
                    ? Inst->getForwardingOwnershipKind()
2305
80.1k
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
80.1k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
162k
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
162k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
162k
  recordClonedInstruction(
2300
162k
      Inst, getBuilder().createStructExtract(
2301
162k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
162k
                Inst->getField(), getOpType(Inst->getType()),
2303
162k
                getBuilder().hasOwnership()
2304
162k
                    ? Inst->getForwardingOwnershipKind()
2305
162k
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
162k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitStructExtractInstEPNS_17StructExtractInstE
Line
Count
Source
2297
197
SILCloner<ImplClass>::visitStructExtractInst(StructExtractInst *Inst) {
2298
197
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2299
197
  recordClonedInstruction(
2300
197
      Inst, getBuilder().createStructExtract(
2301
197
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2302
197
                Inst->getField(), getOpType(Inst->getType()),
2303
197
                getBuilder().hasOwnership()
2304
197
                    ? Inst->getForwardingOwnershipKind()
2305
197
                    : ValueOwnershipKind(OwnershipKind::None)));
2306
197
}
2307
2308
template<typename ImplClass>
2309
void
2310
137k
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
137k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
137k
  recordClonedInstruction(
2313
137k
      Inst, getBuilder().createStructElementAddr(
2314
137k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
137k
                Inst->getField(), getOpType(Inst->getType())));
2316
137k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
46
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
46
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
46
  recordClonedInstruction(
2313
46
      Inst, getBuilder().createStructElementAddr(
2314
46
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
46
                Inst->getField(), getOpType(Inst->getType())));
2316
46
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
313
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
313
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
313
  recordClonedInstruction(
2313
313
      Inst, getBuilder().createStructElementAddr(
2314
313
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
313
                Inst->getField(), getOpType(Inst->getType())));
2316
313
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
499
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
499
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
499
  recordClonedInstruction(
2313
499
      Inst, getBuilder().createStructElementAddr(
2314
499
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
499
                Inst->getField(), getOpType(Inst->getType())));
2316
499
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
2.13k
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
2.13k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
2.13k
  recordClonedInstruction(
2313
2.13k
      Inst, getBuilder().createStructElementAddr(
2314
2.13k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
2.13k
                Inst->getField(), getOpType(Inst->getType())));
2316
2.13k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
4
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
4
  recordClonedInstruction(
2313
4
      Inst, getBuilder().createStructElementAddr(
2314
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
4
                Inst->getField(), getOpType(Inst->getType())));
2316
4
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
30
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
30
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
30
  recordClonedInstruction(
2313
30
      Inst, getBuilder().createStructElementAddr(
2314
30
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
30
                Inst->getField(), getOpType(Inst->getType())));
2316
30
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
2.59k
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
2.59k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
2.59k
  recordClonedInstruction(
2313
2.59k
      Inst, getBuilder().createStructElementAddr(
2314
2.59k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
2.59k
                Inst->getField(), getOpType(Inst->getType())));
2316
2.59k
}
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
310
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
310
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
310
  recordClonedInstruction(
2313
310
      Inst, getBuilder().createStructElementAddr(
2314
310
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
310
                Inst->getField(), getOpType(Inst->getType())));
2316
310
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
16
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
16
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
16
  recordClonedInstruction(
2313
16
      Inst, getBuilder().createStructElementAddr(
2314
16
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
16
                Inst->getField(), getOpType(Inst->getType())));
2316
16
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
33.4k
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
33.4k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
33.4k
  recordClonedInstruction(
2313
33.4k
      Inst, getBuilder().createStructElementAddr(
2314
33.4k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
33.4k
                Inst->getField(), getOpType(Inst->getType())));
2316
33.4k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
97.9k
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
97.9k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
97.9k
  recordClonedInstruction(
2313
97.9k
      Inst, getBuilder().createStructElementAddr(
2314
97.9k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
97.9k
                Inst->getField(), getOpType(Inst->getType())));
2316
97.9k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitStructElementAddrInstEPNS_21StructElementAddrInstE
Line
Count
Source
2310
400
SILCloner<ImplClass>::visitStructElementAddrInst(StructElementAddrInst *Inst) {
2311
400
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2312
400
  recordClonedInstruction(
2313
400
      Inst, getBuilder().createStructElementAddr(
2314
400
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2315
400
                Inst->getField(), getOpType(Inst->getType())));
2316
400
}
2317
2318
template<typename ImplClass>
2319
void
2320
15.6k
SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) {
2321
15.6k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2322
15.6k
  recordClonedInstruction(
2323
15.6k
      Inst, getBuilder().createRefElementAddr(
2324
15.6k
            getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2325
15.6k
            Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable()));
2326
15.6k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Line
Count
Source
2320
47
SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) {
2321
47
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2322
47
  recordClonedInstruction(
2323
47
      Inst, getBuilder().createRefElementAddr(
2324
47
            getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2325
47
            Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable()));
2326
47
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Line
Count
Source
2320
38
SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) {
2321
38
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2322
38
  recordClonedInstruction(
2323
38
      Inst, getBuilder().createRefElementAddr(
2324
38
            getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2325
38
            Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable()));
2326
38
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Line
Count
Source
2320
302
SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) {
2321
302
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2322
302
  recordClonedInstruction(
2323
302
      Inst, getBuilder().createRefElementAddr(
2324
302
            getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2325
302
            Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable()));
2326
302
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Line
Count
Source
2320
3
SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) {
2321
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2322
3
  recordClonedInstruction(
2323
3
      Inst, getBuilder().createRefElementAddr(
2324
3
            getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2325
3
            Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable()));
2326
3
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Line
Count
Source
2320
6
SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) {
2321
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2322
6
  recordClonedInstruction(
2323
6
      Inst, getBuilder().createRefElementAddr(
2324
6
            getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2325
6
            Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable()));
2326
6
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Line
Count
Source
2320
7
SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) {
2321
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2322
7
  recordClonedInstruction(
2323
7
      Inst, getBuilder().createRefElementAddr(
2324
7
            getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2325
7
            Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable()));
2326
7
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Line
Count
Source
2320
7.81k
SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) {
2321
7.81k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2322
7.81k
  recordClonedInstruction(
2323
7.81k
      Inst, getBuilder().createRefElementAddr(
2324
7.81k
            getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2325
7.81k
            Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable()));
2326
7.81k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Line
Count
Source
2320
7.40k
SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) {
2321
7.40k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2322
7.40k
  recordClonedInstruction(
2323
7.40k
      Inst, getBuilder().createRefElementAddr(
2324
7.40k
            getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2325
7.40k
            Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable()));
2326
7.40k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitRefElementAddrInstEPNS_18RefElementAddrInstE
Line
Count
Source
2320
9
SILCloner<ImplClass>::visitRefElementAddrInst(RefElementAddrInst *Inst) {
2321
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2322
9
  recordClonedInstruction(
2323
9
      Inst, getBuilder().createRefElementAddr(
2324
9
            getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2325
9
            Inst->getField(), getOpType(Inst->getType()), Inst->isImmutable()));
2326
9
}
2327
2328
template<typename ImplClass>
2329
void
2330
7.20k
SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) {
2331
7.20k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2332
7.20k
  recordClonedInstruction(
2333
7.20k
      Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()),
2334
7.20k
                                           getOpValue(Inst->getOperand()),
2335
7.20k
                                           getOpType(Inst->getType()),
2336
7.20k
                                           Inst->isImmutable()));
2337
7.20k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Line
Count
Source
2330
8
SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) {
2331
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2332
8
  recordClonedInstruction(
2333
8
      Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()),
2334
8
                                           getOpValue(Inst->getOperand()),
2335
8
                                           getOpType(Inst->getType()),
2336
8
                                           Inst->isImmutable()));
2337
8
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Line
Count
Source
2330
193
SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) {
2331
193
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2332
193
  recordClonedInstruction(
2333
193
      Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()),
2334
193
                                           getOpValue(Inst->getOperand()),
2335
193
                                           getOpType(Inst->getType()),
2336
193
                                           Inst->isImmutable()));
2337
193
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Line
Count
Source
2330
24
SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) {
2331
24
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2332
24
  recordClonedInstruction(
2333
24
      Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()),
2334
24
                                           getOpValue(Inst->getOperand()),
2335
24
                                           getOpType(Inst->getType()),
2336
24
                                           Inst->isImmutable()));
2337
24
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Line
Count
Source
2330
3.36k
SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) {
2331
3.36k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2332
3.36k
  recordClonedInstruction(
2333
3.36k
      Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()),
2334
3.36k
                                           getOpValue(Inst->getOperand()),
2335
3.36k
                                           getOpType(Inst->getType()),
2336
3.36k
                                           Inst->isImmutable()));
2337
3.36k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Line
Count
Source
2330
3.52k
SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) {
2331
3.52k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2332
3.52k
  recordClonedInstruction(
2333
3.52k
      Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()),
2334
3.52k
                                           getOpValue(Inst->getOperand()),
2335
3.52k
                                           getOpType(Inst->getType()),
2336
3.52k
                                           Inst->isImmutable()));
2337
3.52k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitRefTailAddrInstEPNS_15RefTailAddrInstE
Line
Count
Source
2330
88
SILCloner<ImplClass>::visitRefTailAddrInst(RefTailAddrInst *Inst) {
2331
88
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2332
88
  recordClonedInstruction(
2333
88
      Inst, getBuilder().createRefTailAddr(getOpLocation(Inst->getLoc()),
2334
88
                                           getOpValue(Inst->getOperand()),
2335
88
                                           getOpType(Inst->getType()),
2336
88
                                           Inst->isImmutable()));
2337
88
}
2338
2339
template <typename ImplClass>
2340
void SILCloner<ImplClass>::visitDestructureStructInst(
2341
36.8k
    DestructureStructInst *Inst) {
2342
36.8k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2343
2344
36.8k
  if (!getBuilder().hasOwnership()) {
2345
729
    getBuilder().emitDestructureValueOperation(
2346
729
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2347
805
        [&](unsigned index, SILValue value) {
2348
805
          recordFoldedValue(Inst->getResults()[index], value);
2349
805
        });
Unexecuted instantiation: LoadableByAddress.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS7_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS7_
Unexecuted instantiation: ExistentialTransform.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: CapturePropagation.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: ClosureSpecializer.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: LoopUnroll.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: CapturePromotion.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_
Unexecuted instantiation: AllocBoxToStack.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: CSE.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_16BasicBlockClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_
Unexecuted instantiation: SerializeSILPass.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_13GenericClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_
_ZZN5swift9SILClonerINS_15SILInlineClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_
Line
Count
Source
2347
805
        [&](unsigned index, SILValue value) {
2348
805
          recordFoldedValue(Inst->getResults()[index], value);
2349
805
        });
Unexecuted instantiation: _ZZN5swift9SILClonerINS_17SILFunctionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS5_
Unexecuted instantiation: SILInstruction.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstEENKUljNS_8SILValueEE_clEjS6_
2350
729
    return;
2351
729
  }
2352
2353
36.1k
  recordClonedInstruction(
2354
36.1k
      Inst, getBuilder().createDestructureStruct(
2355
36.1k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2356
36.1k
                getBuilder().hasOwnership()
2357
36.1k
                    ? Inst->getForwardingOwnershipKind()
2358
36.1k
                    : ValueOwnershipKind(OwnershipKind::None)));
2359
36.1k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Line
Count
Source
2341
799
    DestructureStructInst *Inst) {
2342
799
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2343
2344
799
  if (!getBuilder().hasOwnership()) {
2345
0
    getBuilder().emitDestructureValueOperation(
2346
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2347
0
        [&](unsigned index, SILValue value) {
2348
0
          recordFoldedValue(Inst->getResults()[index], value);
2349
0
        });
2350
0
    return;
2351
0
  }
2352
2353
799
  recordClonedInstruction(
2354
799
      Inst, getBuilder().createDestructureStruct(
2355
799
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2356
799
                getBuilder().hasOwnership()
2357
799
                    ? Inst->getForwardingOwnershipKind()
2358
799
                    : ValueOwnershipKind(OwnershipKind::None)));
2359
799
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Line
Count
Source
2341
10
    DestructureStructInst *Inst) {
2342
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2343
2344
10
  if (!getBuilder().hasOwnership()) {
2345
0
    getBuilder().emitDestructureValueOperation(
2346
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2347
0
        [&](unsigned index, SILValue value) {
2348
0
          recordFoldedValue(Inst->getResults()[index], value);
2349
0
        });
2350
0
    return;
2351
0
  }
2352
2353
10
  recordClonedInstruction(
2354
10
      Inst, getBuilder().createDestructureStruct(
2355
10
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2356
10
                getBuilder().hasOwnership()
2357
10
                    ? Inst->getForwardingOwnershipKind()
2358
10
                    : ValueOwnershipKind(OwnershipKind::None)));
2359
10
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitDestructureStructInstEPNS_21DestructureStructInstE
_ZN5swift9SILClonerINS_13GenericClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Line
Count
Source
2341
9.94k
    DestructureStructInst *Inst) {
2342
9.94k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2343
2344
9.94k
  if (!getBuilder().hasOwnership()) {
2345
0
    getBuilder().emitDestructureValueOperation(
2346
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2347
0
        [&](unsigned index, SILValue value) {
2348
0
          recordFoldedValue(Inst->getResults()[index], value);
2349
0
        });
2350
0
    return;
2351
0
  }
2352
2353
9.94k
  recordClonedInstruction(
2354
9.94k
      Inst, getBuilder().createDestructureStruct(
2355
9.94k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2356
9.94k
                getBuilder().hasOwnership()
2357
9.94k
                    ? Inst->getForwardingOwnershipKind()
2358
9.94k
                    : ValueOwnershipKind(OwnershipKind::None)));
2359
9.94k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Line
Count
Source
2341
25.9k
    DestructureStructInst *Inst) {
2342
25.9k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2343
2344
25.9k
  if (!getBuilder().hasOwnership()) {
2345
729
    getBuilder().emitDestructureValueOperation(
2346
729
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2347
729
        [&](unsigned index, SILValue value) {
2348
729
          recordFoldedValue(Inst->getResults()[index], value);
2349
729
        });
2350
729
    return;
2351
729
  }
2352
2353
25.2k
  recordClonedInstruction(
2354
25.2k
      Inst, getBuilder().createDestructureStruct(
2355
25.2k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2356
25.2k
                getBuilder().hasOwnership()
2357
25.2k
                    ? Inst->getForwardingOwnershipKind()
2358
25.2k
                    : ValueOwnershipKind(OwnershipKind::None)));
2359
25.2k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitDestructureStructInstEPNS_21DestructureStructInstE
Line
Count
Source
2341
187
    DestructureStructInst *Inst) {
2342
187
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2343
2344
187
  if (!getBuilder().hasOwnership()) {
2345
0
    getBuilder().emitDestructureValueOperation(
2346
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2347
0
        [&](unsigned index, SILValue value) {
2348
0
          recordFoldedValue(Inst->getResults()[index], value);
2349
0
        });
2350
0
    return;
2351
0
  }
2352
2353
187
  recordClonedInstruction(
2354
187
      Inst, getBuilder().createDestructureStruct(
2355
187
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2356
187
                getBuilder().hasOwnership()
2357
187
                    ? Inst->getForwardingOwnershipKind()
2358
187
                    : ValueOwnershipKind(OwnershipKind::None)));
2359
187
}
2360
2361
template <typename ImplClass>
2362
void SILCloner<ImplClass>::visitDestructureTupleInst(
2363
41.8k
    DestructureTupleInst *Inst) {
2364
41.8k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2365
41.8k
  if (!getBuilder().hasOwnership()) {
2366
350
    getBuilder().emitDestructureValueOperation(
2367
350
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2368
700
        [&](unsigned index, SILValue value) {
2369
700
          recordFoldedValue(Inst->getResults()[index], value);
2370
700
        });
Unexecuted instantiation: LoadableByAddress.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS7_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS7_
Unexecuted instantiation: ExistentialTransform.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: CapturePropagation.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: ClosureSpecializer.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: LoopUnroll.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: CapturePromotion.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_
Unexecuted instantiation: AllocBoxToStack.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: CSE.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_16BasicBlockClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_
Unexecuted instantiation: SerializeSILPass.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_13GenericClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_
_ZZN5swift9SILClonerINS_15SILInlineClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_
Line
Count
Source
2368
700
        [&](unsigned index, SILValue value) {
2369
700
          recordFoldedValue(Inst->getResults()[index], value);
2370
700
        });
Unexecuted instantiation: _ZZN5swift9SILClonerINS_17SILFunctionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS5_
Unexecuted instantiation: SILInstruction.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstEENKUljNS_8SILValueEE_clEjS6_
2371
350
    return;
2372
350
  }
2373
2374
41.5k
  recordClonedInstruction(
2375
41.5k
      Inst, getBuilder().createDestructureTuple(
2376
41.5k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2377
41.5k
                getBuilder().hasOwnership()
2378
41.5k
                    ? Inst->getForwardingOwnershipKind()
2379
41.5k
                    : ValueOwnershipKind(OwnershipKind::None)));
2380
41.5k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Line
Count
Source
2363
6
    DestructureTupleInst *Inst) {
2364
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2365
6
  if (!getBuilder().hasOwnership()) {
2366
0
    getBuilder().emitDestructureValueOperation(
2367
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2368
0
        [&](unsigned index, SILValue value) {
2369
0
          recordFoldedValue(Inst->getResults()[index], value);
2370
0
        });
2371
0
    return;
2372
0
  }
2373
2374
6
  recordClonedInstruction(
2375
6
      Inst, getBuilder().createDestructureTuple(
2376
6
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2377
6
                getBuilder().hasOwnership()
2378
6
                    ? Inst->getForwardingOwnershipKind()
2379
6
                    : ValueOwnershipKind(OwnershipKind::None)));
2380
6
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Line
Count
Source
2363
115
    DestructureTupleInst *Inst) {
2364
115
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2365
115
  if (!getBuilder().hasOwnership()) {
2366
0
    getBuilder().emitDestructureValueOperation(
2367
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2368
0
        [&](unsigned index, SILValue value) {
2369
0
          recordFoldedValue(Inst->getResults()[index], value);
2370
0
        });
2371
0
    return;
2372
0
  }
2373
2374
115
  recordClonedInstruction(
2375
115
      Inst, getBuilder().createDestructureTuple(
2376
115
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2377
115
                getBuilder().hasOwnership()
2378
115
                    ? Inst->getForwardingOwnershipKind()
2379
115
                    : ValueOwnershipKind(OwnershipKind::None)));
2380
115
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Line
Count
Source
2363
8
    DestructureTupleInst *Inst) {
2364
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2365
8
  if (!getBuilder().hasOwnership()) {
2366
0
    getBuilder().emitDestructureValueOperation(
2367
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2368
0
        [&](unsigned index, SILValue value) {
2369
0
          recordFoldedValue(Inst->getResults()[index], value);
2370
0
        });
2371
0
    return;
2372
0
  }
2373
2374
8
  recordClonedInstruction(
2375
8
      Inst, getBuilder().createDestructureTuple(
2376
8
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2377
8
                getBuilder().hasOwnership()
2378
8
                    ? Inst->getForwardingOwnershipKind()
2379
8
                    : ValueOwnershipKind(OwnershipKind::None)));
2380
8
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Line
Count
Source
2363
2
    DestructureTupleInst *Inst) {
2364
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2365
2
  if (!getBuilder().hasOwnership()) {
2366
0
    getBuilder().emitDestructureValueOperation(
2367
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2368
0
        [&](unsigned index, SILValue value) {
2369
0
          recordFoldedValue(Inst->getResults()[index], value);
2370
0
        });
2371
0
    return;
2372
0
  }
2373
2374
2
  recordClonedInstruction(
2375
2
      Inst, getBuilder().createDestructureTuple(
2376
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2377
2
                getBuilder().hasOwnership()
2378
2
                    ? Inst->getForwardingOwnershipKind()
2379
2
                    : ValueOwnershipKind(OwnershipKind::None)));
2380
2
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Line
Count
Source
2363
9
    DestructureTupleInst *Inst) {
2364
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2365
9
  if (!getBuilder().hasOwnership()) {
2366
0
    getBuilder().emitDestructureValueOperation(
2367
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2368
0
        [&](unsigned index, SILValue value) {
2369
0
          recordFoldedValue(Inst->getResults()[index], value);
2370
0
        });
2371
0
    return;
2372
0
  }
2373
2374
9
  recordClonedInstruction(
2375
9
      Inst, getBuilder().createDestructureTuple(
2376
9
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2377
9
                getBuilder().hasOwnership()
2378
9
                    ? Inst->getForwardingOwnershipKind()
2379
9
                    : ValueOwnershipKind(OwnershipKind::None)));
2380
9
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Line
Count
Source
2363
1
    DestructureTupleInst *Inst) {
2364
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2365
1
  if (!getBuilder().hasOwnership()) {
2366
0
    getBuilder().emitDestructureValueOperation(
2367
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2368
0
        [&](unsigned index, SILValue value) {
2369
0
          recordFoldedValue(Inst->getResults()[index], value);
2370
0
        });
2371
0
    return;
2372
0
  }
2373
2374
1
  recordClonedInstruction(
2375
1
      Inst, getBuilder().createDestructureTuple(
2376
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2377
1
                getBuilder().hasOwnership()
2378
1
                    ? Inst->getForwardingOwnershipKind()
2379
1
                    : ValueOwnershipKind(OwnershipKind::None)));
2380
1
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
_ZN5swift9SILClonerINS_13GenericClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Line
Count
Source
2363
17.4k
    DestructureTupleInst *Inst) {
2364
17.4k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2365
17.4k
  if (!getBuilder().hasOwnership()) {
2366
0
    getBuilder().emitDestructureValueOperation(
2367
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2368
0
        [&](unsigned index, SILValue value) {
2369
0
          recordFoldedValue(Inst->getResults()[index], value);
2370
0
        });
2371
0
    return;
2372
0
  }
2373
2374
17.4k
  recordClonedInstruction(
2375
17.4k
      Inst, getBuilder().createDestructureTuple(
2376
17.4k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2377
17.4k
                getBuilder().hasOwnership()
2378
17.4k
                    ? Inst->getForwardingOwnershipKind()
2379
17.4k
                    : ValueOwnershipKind(OwnershipKind::None)));
2380
17.4k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Line
Count
Source
2363
23.8k
    DestructureTupleInst *Inst) {
2364
23.8k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2365
23.8k
  if (!getBuilder().hasOwnership()) {
2366
350
    getBuilder().emitDestructureValueOperation(
2367
350
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2368
350
        [&](unsigned index, SILValue value) {
2369
350
          recordFoldedValue(Inst->getResults()[index], value);
2370
350
        });
2371
350
    return;
2372
350
  }
2373
2374
23.5k
  recordClonedInstruction(
2375
23.5k
      Inst, getBuilder().createDestructureTuple(
2376
23.5k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2377
23.5k
                getBuilder().hasOwnership()
2378
23.5k
                    ? Inst->getForwardingOwnershipKind()
2379
23.5k
                    : ValueOwnershipKind(OwnershipKind::None)));
2380
23.5k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitDestructureTupleInstEPNS_20DestructureTupleInstE
Line
Count
Source
2363
402
    DestructureTupleInst *Inst) {
2364
402
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2365
402
  if (!getBuilder().hasOwnership()) {
2366
0
    getBuilder().emitDestructureValueOperation(
2367
0
        getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2368
0
        [&](unsigned index, SILValue value) {
2369
0
          recordFoldedValue(Inst->getResults()[index], value);
2370
0
        });
2371
0
    return;
2372
0
  }
2373
2374
402
  recordClonedInstruction(
2375
402
      Inst, getBuilder().createDestructureTuple(
2376
402
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2377
402
                getBuilder().hasOwnership()
2378
402
                    ? Inst->getForwardingOwnershipKind()
2379
402
                    : ValueOwnershipKind(OwnershipKind::None)));
2380
402
}
2381
2382
template <typename ImplClass>
2383
485
void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) {
2384
485
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2385
485
  recordClonedInstruction(
2386
485
      Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()),
2387
485
                                           getOpValue(Inst->getOperand()),
2388
485
                                           Inst->getMember(), Inst->getType()));
2389
485
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitClassMethodInstEPNS_15ClassMethodInstE
Line
Count
Source
2383
4
void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) {
2384
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2385
4
  recordClonedInstruction(
2386
4
      Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()),
2387
4
                                           getOpValue(Inst->getOperand()),
2388
4
                                           Inst->getMember(), Inst->getType()));
2389
4
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitClassMethodInstEPNS_15ClassMethodInstE
Line
Count
Source
2383
48
void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) {
2384
48
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2385
48
  recordClonedInstruction(
2386
48
      Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()),
2387
48
                                           getOpValue(Inst->getOperand()),
2388
48
                                           Inst->getMember(), Inst->getType()));
2389
48
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Line
Count
Source
2383
10
void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) {
2384
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2385
10
  recordClonedInstruction(
2386
10
      Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()),
2387
10
                                           getOpValue(Inst->getOperand()),
2388
10
                                           Inst->getMember(), Inst->getType()));
2389
10
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Line
Count
Source
2383
4
void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) {
2384
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2385
4
  recordClonedInstruction(
2386
4
      Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()),
2387
4
                                           getOpValue(Inst->getOperand()),
2388
4
                                           Inst->getMember(), Inst->getType()));
2389
4
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitClassMethodInstEPNS_15ClassMethodInstE
_ZN5swift9SILClonerINS_13GenericClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Line
Count
Source
2383
159
void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) {
2384
159
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2385
159
  recordClonedInstruction(
2386
159
      Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()),
2387
159
                                           getOpValue(Inst->getOperand()),
2388
159
                                           Inst->getMember(), Inst->getType()));
2389
159
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
Line
Count
Source
2383
260
void SILCloner<ImplClass>::visitClassMethodInst(ClassMethodInst *Inst) {
2384
260
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2385
260
  recordClonedInstruction(
2386
260
      Inst, getBuilder().createClassMethod(getOpLocation(Inst->getLoc()),
2387
260
                                           getOpValue(Inst->getOperand()),
2388
260
                                           Inst->getMember(), Inst->getType()));
2389
260
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitClassMethodInstEPNS_15ClassMethodInstE
2390
2391
template<typename ImplClass>
2392
void
2393
0
SILCloner<ImplClass>::visitSuperMethodInst(SuperMethodInst *Inst) {
2394
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2395
0
  recordClonedInstruction(
2396
0
      Inst, getBuilder().createSuperMethod(getOpLocation(Inst->getLoc()),
2397
0
                                           getOpValue(Inst->getOperand()),
2398
0
                                           Inst->getMember(), Inst->getType()));
2399
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitSuperMethodInstEPNS_15SuperMethodInstE
2400
2401
template<typename ImplClass>
2402
void
2403
116
SILCloner<ImplClass>::visitObjCMethodInst(ObjCMethodInst *Inst) {
2404
116
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2405
116
  recordClonedInstruction(
2406
116
      Inst, getBuilder().createObjCMethod(
2407
116
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2408
116
                Inst->getMember(), getOpType(Inst->getType())));
2409
116
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Line
Count
Source
2403
16
SILCloner<ImplClass>::visitObjCMethodInst(ObjCMethodInst *Inst) {
2404
16
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2405
16
  recordClonedInstruction(
2406
16
      Inst, getBuilder().createObjCMethod(
2407
16
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2408
16
                Inst->getMember(), getOpType(Inst->getType())));
2409
16
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
Line
Count
Source
2403
100
SILCloner<ImplClass>::visitObjCMethodInst(ObjCMethodInst *Inst) {
2404
100
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2405
100
  recordClonedInstruction(
2406
100
      Inst, getBuilder().createObjCMethod(
2407
100
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2408
100
                Inst->getMember(), getOpType(Inst->getType())));
2409
100
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitObjCMethodInstEPNS_14ObjCMethodInstE
2410
2411
template<typename ImplClass>
2412
void
2413
0
SILCloner<ImplClass>::visitObjCSuperMethodInst(ObjCSuperMethodInst *Inst) {
2414
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2415
0
  recordClonedInstruction(Inst, getBuilder().createObjCSuperMethod(
2416
0
                                    getOpLocation(Inst->getLoc()),
2417
0
                                    getOpValue(Inst->getOperand()),
2418
0
                                    Inst->getMember(), Inst->getType()));
2419
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitObjCSuperMethodInstEPNS_19ObjCSuperMethodInstE
2420
2421
template<typename ImplClass>
2422
void
2423
49.4k
SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) {
2424
49.4k
  auto lookupType = Inst->getLookupType();
2425
49.4k
  auto conformance = getOpConformance(lookupType, Inst->getConformance());
2426
49.4k
  auto newLookupType = getOpASTType(lookupType);
2427
2428
49.4k
  if (conformance.isConcrete()) {
2429
44.3k
    CanType Ty = conformance.getConcrete()->getType()->getCanonicalType();
2430
2431
44.3k
    if (Ty != newLookupType) {
2432
0
      assert(
2433
0
          (Ty->isExactSuperclassOf(newLookupType) ||
2434
0
           getBuilder().getModule().Types.getLoweredRValueType(
2435
0
               getBuilder().getTypeExpansionContext(), Ty) == newLookupType) &&
2436
0
          "Should only create upcasts for sub class.");
2437
2438
      // We use the super class as the new look up type.
2439
0
      newLookupType = Ty;
2440
0
    }
2441
44.3k
  }
2442
2443
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2444
49.4k
  recordClonedInstruction(Inst,
2445
49.4k
                          getBuilder().createWitnessMethod(
2446
49.4k
                              getOpLocation(Inst->getLoc()), newLookupType,
2447
49.4k
                              conformance, Inst->getMember(), Inst->getType()));
2448
49.4k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Line
Count
Source
2423
14
SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) {
2424
14
  auto lookupType = Inst->getLookupType();
2425
14
  auto conformance = getOpConformance(lookupType, Inst->getConformance());
2426
14
  auto newLookupType = getOpASTType(lookupType);
2427
2428
14
  if (conformance.isConcrete()) {
2429
0
    CanType Ty = conformance.getConcrete()->getType()->getCanonicalType();
2430
2431
0
    if (Ty != newLookupType) {
2432
0
      assert(
2433
0
          (Ty->isExactSuperclassOf(newLookupType) ||
2434
0
           getBuilder().getModule().Types.getLoweredRValueType(
2435
0
               getBuilder().getTypeExpansionContext(), Ty) == newLookupType) &&
2436
0
          "Should only create upcasts for sub class.");
2437
2438
      // We use the super class as the new look up type.
2439
0
      newLookupType = Ty;
2440
0
    }
2441
0
  }
2442
2443
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2444
14
  recordClonedInstruction(Inst,
2445
14
                          getBuilder().createWitnessMethod(
2446
14
                              getOpLocation(Inst->getLoc()), newLookupType,
2447
14
                              conformance, Inst->getMember(), Inst->getType()));
2448
14
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Line
Count
Source
2423
52
SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) {
2424
52
  auto lookupType = Inst->getLookupType();
2425
52
  auto conformance = getOpConformance(lookupType, Inst->getConformance());
2426
52
  auto newLookupType = getOpASTType(lookupType);
2427
2428
52
  if (conformance.isConcrete()) {
2429
0
    CanType Ty = conformance.getConcrete()->getType()->getCanonicalType();
2430
2431
0
    if (Ty != newLookupType) {
2432
0
      assert(
2433
0
          (Ty->isExactSuperclassOf(newLookupType) ||
2434
0
           getBuilder().getModule().Types.getLoweredRValueType(
2435
0
               getBuilder().getTypeExpansionContext(), Ty) == newLookupType) &&
2436
0
          "Should only create upcasts for sub class.");
2437
2438
      // We use the super class as the new look up type.
2439
0
      newLookupType = Ty;
2440
0
    }
2441
0
  }
2442
2443
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2444
52
  recordClonedInstruction(Inst,
2445
52
                          getBuilder().createWitnessMethod(
2446
52
                              getOpLocation(Inst->getLoc()), newLookupType,
2447
52
                              conformance, Inst->getMember(), Inst->getType()));
2448
52
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Line
Count
Source
2423
250
SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) {
2424
250
  auto lookupType = Inst->getLookupType();
2425
250
  auto conformance = getOpConformance(lookupType, Inst->getConformance());
2426
250
  auto newLookupType = getOpASTType(lookupType);
2427
2428
250
  if (conformance.isConcrete()) {
2429
18
    CanType Ty = conformance.getConcrete()->getType()->getCanonicalType();
2430
2431
18
    if (Ty != newLookupType) {
2432
0
      assert(
2433
0
          (Ty->isExactSuperclassOf(newLookupType) ||
2434
0
           getBuilder().getModule().Types.getLoweredRValueType(
2435
0
               getBuilder().getTypeExpansionContext(), Ty) == newLookupType) &&
2436
0
          "Should only create upcasts for sub class.");
2437
2438
      // We use the super class as the new look up type.
2439
0
      newLookupType = Ty;
2440
0
    }
2441
18
  }
2442
2443
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2444
250
  recordClonedInstruction(Inst,
2445
250
                          getBuilder().createWitnessMethod(
2446
250
                              getOpLocation(Inst->getLoc()), newLookupType,
2447
250
                              conformance, Inst->getMember(), Inst->getType()));
2448
250
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Line
Count
Source
2423
2
SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) {
2424
2
  auto lookupType = Inst->getLookupType();
2425
2
  auto conformance = getOpConformance(lookupType, Inst->getConformance());
2426
2
  auto newLookupType = getOpASTType(lookupType);
2427
2428
2
  if (conformance.isConcrete()) {
2429
0
    CanType Ty = conformance.getConcrete()->getType()->getCanonicalType();
2430
2431
0
    if (Ty != newLookupType) {
2432
0
      assert(
2433
0
          (Ty->isExactSuperclassOf(newLookupType) ||
2434
0
           getBuilder().getModule().Types.getLoweredRValueType(
2435
0
               getBuilder().getTypeExpansionContext(), Ty) == newLookupType) &&
2436
0
          "Should only create upcasts for sub class.");
2437
2438
      // We use the super class as the new look up type.
2439
0
      newLookupType = Ty;
2440
0
    }
2441
0
  }
2442
2443
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2444
2
  recordClonedInstruction(Inst,
2445
2
                          getBuilder().createWitnessMethod(
2446
2
                              getOpLocation(Inst->getLoc()), newLookupType,
2447
2
                              conformance, Inst->getMember(), Inst->getType()));
2448
2
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Line
Count
Source
2423
1
SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) {
2424
1
  auto lookupType = Inst->getLookupType();
2425
1
  auto conformance = getOpConformance(lookupType, Inst->getConformance());
2426
1
  auto newLookupType = getOpASTType(lookupType);
2427
2428
1
  if (conformance.isConcrete()) {
2429
0
    CanType Ty = conformance.getConcrete()->getType()->getCanonicalType();
2430
2431
0
    if (Ty != newLookupType) {
2432
0
      assert(
2433
0
          (Ty->isExactSuperclassOf(newLookupType) ||
2434
0
           getBuilder().getModule().Types.getLoweredRValueType(
2435
0
               getBuilder().getTypeExpansionContext(), Ty) == newLookupType) &&
2436
0
          "Should only create upcasts for sub class.");
2437
2438
      // We use the super class as the new look up type.
2439
0
      newLookupType = Ty;
2440
0
    }
2441
0
  }
2442
2443
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2444
1
  recordClonedInstruction(Inst,
2445
1
                          getBuilder().createWitnessMethod(
2446
1
                              getOpLocation(Inst->getLoc()), newLookupType,
2447
1
                              conformance, Inst->getMember(), Inst->getType()));
2448
1
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Line
Count
Source
2423
6
SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) {
2424
6
  auto lookupType = Inst->getLookupType();
2425
6
  auto conformance = getOpConformance(lookupType, Inst->getConformance());
2426
6
  auto newLookupType = getOpASTType(lookupType);
2427
2428
6
  if (conformance.isConcrete()) {
2429
0
    CanType Ty = conformance.getConcrete()->getType()->getCanonicalType();
2430
2431
0
    if (Ty != newLookupType) {
2432
0
      assert(
2433
0
          (Ty->isExactSuperclassOf(newLookupType) ||
2434
0
           getBuilder().getModule().Types.getLoweredRValueType(
2435
0
               getBuilder().getTypeExpansionContext(), Ty) == newLookupType) &&
2436
0
          "Should only create upcasts for sub class.");
2437
2438
      // We use the super class as the new look up type.
2439
0
      newLookupType = Ty;
2440
0
    }
2441
0
  }
2442
2443
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2444
6
  recordClonedInstruction(Inst,
2445
6
                          getBuilder().createWitnessMethod(
2446
6
                              getOpLocation(Inst->getLoc()), newLookupType,
2447
6
                              conformance, Inst->getMember(), Inst->getType()));
2448
6
}
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Line
Count
Source
2423
183
SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) {
2424
183
  auto lookupType = Inst->getLookupType();
2425
183
  auto conformance = getOpConformance(lookupType, Inst->getConformance());
2426
183
  auto newLookupType = getOpASTType(lookupType);
2427
2428
183
  if (conformance.isConcrete()) {
2429
0
    CanType Ty = conformance.getConcrete()->getType()->getCanonicalType();
2430
2431
0
    if (Ty != newLookupType) {
2432
0
      assert(
2433
0
          (Ty->isExactSuperclassOf(newLookupType) ||
2434
0
           getBuilder().getModule().Types.getLoweredRValueType(
2435
0
               getBuilder().getTypeExpansionContext(), Ty) == newLookupType) &&
2436
0
          "Should only create upcasts for sub class.");
2437
2438
      // We use the super class as the new look up type.
2439
0
      newLookupType = Ty;
2440
0
    }
2441
0
  }
2442
2443
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2444
183
  recordClonedInstruction(Inst,
2445
183
                          getBuilder().createWitnessMethod(
2446
183
                              getOpLocation(Inst->getLoc()), newLookupType,
2447
183
                              conformance, Inst->getMember(), Inst->getType()));
2448
183
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
_ZN5swift9SILClonerINS_13GenericClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Line
Count
Source
2423
23.4k
SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) {
2424
23.4k
  auto lookupType = Inst->getLookupType();
2425
23.4k
  auto conformance = getOpConformance(lookupType, Inst->getConformance());
2426
23.4k
  auto newLookupType = getOpASTType(lookupType);
2427
2428
23.4k
  if (conformance.isConcrete()) {
2429
22.5k
    CanType Ty = conformance.getConcrete()->getType()->getCanonicalType();
2430
2431
22.5k
    if (Ty != newLookupType) {
2432
0
      assert(
2433
0
          (Ty->isExactSuperclassOf(newLookupType) ||
2434
0
           getBuilder().getModule().Types.getLoweredRValueType(
2435
0
               getBuilder().getTypeExpansionContext(), Ty) == newLookupType) &&
2436
0
          "Should only create upcasts for sub class.");
2437
2438
      // We use the super class as the new look up type.
2439
0
      newLookupType = Ty;
2440
0
    }
2441
22.5k
  }
2442
2443
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2444
23.4k
  recordClonedInstruction(Inst,
2445
23.4k
                          getBuilder().createWitnessMethod(
2446
23.4k
                              getOpLocation(Inst->getLoc()), newLookupType,
2447
23.4k
                              conformance, Inst->getMember(), Inst->getType()));
2448
23.4k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
Line
Count
Source
2423
25.4k
SILCloner<ImplClass>::visitWitnessMethodInst(WitnessMethodInst *Inst) {
2424
25.4k
  auto lookupType = Inst->getLookupType();
2425
25.4k
  auto conformance = getOpConformance(lookupType, Inst->getConformance());
2426
25.4k
  auto newLookupType = getOpASTType(lookupType);
2427
2428
25.4k
  if (conformance.isConcrete()) {
2429
21.7k
    CanType Ty = conformance.getConcrete()->getType()->getCanonicalType();
2430
2431
21.7k
    if (Ty != newLookupType) {
2432
0
      assert(
2433
0
          (Ty->isExactSuperclassOf(newLookupType) ||
2434
0
           getBuilder().getModule().Types.getLoweredRValueType(
2435
0
               getBuilder().getTypeExpansionContext(), Ty) == newLookupType) &&
2436
0
          "Should only create upcasts for sub class.");
2437
2438
      // We use the super class as the new look up type.
2439
0
      newLookupType = Ty;
2440
0
    }
2441
21.7k
  }
2442
2443
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2444
25.4k
  recordClonedInstruction(Inst,
2445
25.4k
                          getBuilder().createWitnessMethod(
2446
25.4k
                              getOpLocation(Inst->getLoc()), newLookupType,
2447
25.4k
                              conformance, Inst->getMember(), Inst->getType()));
2448
25.4k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitWitnessMethodInstEPNS_17WitnessMethodInstE
2449
2450
template<typename ImplClass>
2451
void
2452
305
SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) {
2453
  // Create a new archetype for this opened existential type.
2454
305
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2455
2456
305
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2457
305
  recordClonedInstruction(
2458
305
      Inst, getBuilder().createOpenExistentialAddr(
2459
305
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2460
305
                getOpType(Inst->getType()), Inst->getAccessKind()));
2461
305
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Line
Count
Source
2452
1
SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) {
2453
  // Create a new archetype for this opened existential type.
2454
1
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2455
2456
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2457
1
  recordClonedInstruction(
2458
1
      Inst, getBuilder().createOpenExistentialAddr(
2459
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2460
1
                getOpType(Inst->getType()), Inst->getAccessKind()));
2461
1
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Line
Count
Source
2452
2
SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) {
2453
  // Create a new archetype for this opened existential type.
2454
2
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2455
2456
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2457
2
  recordClonedInstruction(
2458
2
      Inst, getBuilder().createOpenExistentialAddr(
2459
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2460
2
                getOpType(Inst->getType()), Inst->getAccessKind()));
2461
2
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Line
Count
Source
2452
6
SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) {
2453
  // Create a new archetype for this opened existential type.
2454
6
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2455
2456
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2457
6
  recordClonedInstruction(
2458
6
      Inst, getBuilder().createOpenExistentialAddr(
2459
6
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2460
6
                getOpType(Inst->getType()), Inst->getAccessKind()));
2461
6
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Line
Count
Source
2452
97
SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) {
2453
  // Create a new archetype for this opened existential type.
2454
97
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2455
2456
97
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2457
97
  recordClonedInstruction(
2458
97
      Inst, getBuilder().createOpenExistentialAddr(
2459
97
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2460
97
                getOpType(Inst->getType()), Inst->getAccessKind()));
2461
97
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
Line
Count
Source
2452
199
SILCloner<ImplClass>::visitOpenExistentialAddrInst(OpenExistentialAddrInst *Inst) {
2453
  // Create a new archetype for this opened existential type.
2454
199
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2455
2456
199
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2457
199
  recordClonedInstruction(
2458
199
      Inst, getBuilder().createOpenExistentialAddr(
2459
199
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2460
199
                getOpType(Inst->getType()), Inst->getAccessKind()));
2461
199
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitOpenExistentialAddrInstEPNS_23OpenExistentialAddrInstE
2462
2463
template <typename ImplClass>
2464
void SILCloner<ImplClass>::visitOpenExistentialValueInst(
2465
0
    OpenExistentialValueInst *Inst) {
2466
  // Create a new archetype for this opened existential type.
2467
0
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2468
2469
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2470
0
  recordClonedInstruction(
2471
0
      Inst, getBuilder().createOpenExistentialValue(
2472
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2473
0
                getOpType(Inst->getType()),
2474
0
                getBuilder().hasOwnership()
2475
0
                    ? Inst->getForwardingOwnershipKind()
2476
0
                    : ValueOwnershipKind(OwnershipKind::None)));
2477
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitOpenExistentialValueInstEPNS_24OpenExistentialValueInstE
2478
2479
template<typename ImplClass>
2480
void
2481
SILCloner<ImplClass>::
2482
477
visitOpenExistentialMetatypeInst(OpenExistentialMetatypeInst *Inst) {
2483
  // Create a new archetype for this opened existential type.
2484
477
  auto openedType = Inst->getType().getASTType();
2485
477
  auto exType = Inst->getOperand()->getType().getASTType();
2486
954
  while (auto exMetatype = dyn_cast<ExistentialMetatypeType>(exType)) {
2487
477
    exType = exMetatype->getExistentialInstanceType()->getCanonicalType();
2488
477
    openedType = cast<MetatypeType>(openedType).getInstanceType();
2489
477
  }
2490
477
  remapRootOpenedType(cast<OpenedArchetypeType>(openedType));
2491
2492
477
  if (!Inst->getOperand()->getType().canUseExistentialRepresentation(
2493
477
          ExistentialRepresentation::Class)) {
2494
477
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2495
477
    recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype(
2496
477
                                      getOpLocation(Inst->getLoc()),
2497
477
                                      getOpValue(Inst->getOperand()),
2498
477
                                      getOpType(Inst->getType())));
2499
477
    return;
2500
477
  }
2501
2502
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2503
0
  recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype(
2504
0
                                    getOpLocation(Inst->getLoc()),
2505
0
                                    getOpValue(Inst->getOperand()),
2506
0
                                    getOpType(Inst->getType())));
2507
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
_ZN5swift9SILClonerINS_13GenericClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Line
Count
Source
2482
476
visitOpenExistentialMetatypeInst(OpenExistentialMetatypeInst *Inst) {
2483
  // Create a new archetype for this opened existential type.
2484
476
  auto openedType = Inst->getType().getASTType();
2485
476
  auto exType = Inst->getOperand()->getType().getASTType();
2486
952
  while (auto exMetatype = dyn_cast<ExistentialMetatypeType>(exType)) {
2487
476
    exType = exMetatype->getExistentialInstanceType()->getCanonicalType();
2488
476
    openedType = cast<MetatypeType>(openedType).getInstanceType();
2489
476
  }
2490
476
  remapRootOpenedType(cast<OpenedArchetypeType>(openedType));
2491
2492
476
  if (!Inst->getOperand()->getType().canUseExistentialRepresentation(
2493
476
          ExistentialRepresentation::Class)) {
2494
476
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2495
476
    recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype(
2496
476
                                      getOpLocation(Inst->getLoc()),
2497
476
                                      getOpValue(Inst->getOperand()),
2498
476
                                      getOpType(Inst->getType())));
2499
476
    return;
2500
476
  }
2501
2502
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2503
0
  recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype(
2504
0
                                    getOpLocation(Inst->getLoc()),
2505
0
                                    getOpValue(Inst->getOperand()),
2506
0
                                    getOpType(Inst->getType())));
2507
0
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
Line
Count
Source
2482
1
visitOpenExistentialMetatypeInst(OpenExistentialMetatypeInst *Inst) {
2483
  // Create a new archetype for this opened existential type.
2484
1
  auto openedType = Inst->getType().getASTType();
2485
1
  auto exType = Inst->getOperand()->getType().getASTType();
2486
2
  while (auto exMetatype = dyn_cast<ExistentialMetatypeType>(exType)) {
2487
1
    exType = exMetatype->getExistentialInstanceType()->getCanonicalType();
2488
1
    openedType = cast<MetatypeType>(openedType).getInstanceType();
2489
1
  }
2490
1
  remapRootOpenedType(cast<OpenedArchetypeType>(openedType));
2491
2492
1
  if (!Inst->getOperand()->getType().canUseExistentialRepresentation(
2493
1
          ExistentialRepresentation::Class)) {
2494
1
    getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2495
1
    recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype(
2496
1
                                      getOpLocation(Inst->getLoc()),
2497
1
                                      getOpValue(Inst->getOperand()),
2498
1
                                      getOpType(Inst->getType())));
2499
1
    return;
2500
1
  }
2501
2502
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2503
0
  recordClonedInstruction(Inst, getBuilder().createOpenExistentialMetatype(
2504
0
                                    getOpLocation(Inst->getLoc()),
2505
0
                                    getOpValue(Inst->getOperand()),
2506
0
                                    getOpType(Inst->getType())));
2507
0
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE32visitOpenExistentialMetatypeInstEPNS_27OpenExistentialMetatypeInstE
2508
2509
template<typename ImplClass>
2510
void
2511
SILCloner<ImplClass>::
2512
4.15k
visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) {
2513
  // Create a new archetype for this opened existential type.
2514
4.15k
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2515
2516
4.15k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2517
4.15k
  recordClonedInstruction(
2518
4.15k
      Inst, getBuilder().createOpenExistentialRef(
2519
4.15k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2520
4.15k
                getOpType(Inst->getType()),
2521
4.15k
                getBuilder().hasOwnership()
2522
4.15k
                    ? Inst->getForwardingOwnershipKind()
2523
4.15k
                    : ValueOwnershipKind(OwnershipKind::None)));
2524
4.15k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Line
Count
Source
2512
242
visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) {
2513
  // Create a new archetype for this opened existential type.
2514
242
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2515
2516
242
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2517
242
  recordClonedInstruction(
2518
242
      Inst, getBuilder().createOpenExistentialRef(
2519
242
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2520
242
                getOpType(Inst->getType()),
2521
242
                getBuilder().hasOwnership()
2522
242
                    ? Inst->getForwardingOwnershipKind()
2523
242
                    : ValueOwnershipKind(OwnershipKind::None)));
2524
242
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Line
Count
Source
2512
2
visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) {
2513
  // Create a new archetype for this opened existential type.
2514
2
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2515
2516
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2517
2
  recordClonedInstruction(
2518
2
      Inst, getBuilder().createOpenExistentialRef(
2519
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2520
2
                getOpType(Inst->getType()),
2521
2
                getBuilder().hasOwnership()
2522
2
                    ? Inst->getForwardingOwnershipKind()
2523
2
                    : ValueOwnershipKind(OwnershipKind::None)));
2524
2
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Line
Count
Source
2512
5
visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) {
2513
  // Create a new archetype for this opened existential type.
2514
5
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2515
2516
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2517
5
  recordClonedInstruction(
2518
5
      Inst, getBuilder().createOpenExistentialRef(
2519
5
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2520
5
                getOpType(Inst->getType()),
2521
5
                getBuilder().hasOwnership()
2522
5
                    ? Inst->getForwardingOwnershipKind()
2523
5
                    : ValueOwnershipKind(OwnershipKind::None)));
2524
5
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Line
Count
Source
2512
4
visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) {
2513
  // Create a new archetype for this opened existential type.
2514
4
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2515
2516
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2517
4
  recordClonedInstruction(
2518
4
      Inst, getBuilder().createOpenExistentialRef(
2519
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2520
4
                getOpType(Inst->getType()),
2521
4
                getBuilder().hasOwnership()
2522
4
                    ? Inst->getForwardingOwnershipKind()
2523
4
                    : ValueOwnershipKind(OwnershipKind::None)));
2524
4
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
_ZN5swift9SILClonerINS_13GenericClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Line
Count
Source
2512
1.06k
visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) {
2513
  // Create a new archetype for this opened existential type.
2514
1.06k
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2515
2516
1.06k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2517
1.06k
  recordClonedInstruction(
2518
1.06k
      Inst, getBuilder().createOpenExistentialRef(
2519
1.06k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2520
1.06k
                getOpType(Inst->getType()),
2521
1.06k
                getBuilder().hasOwnership()
2522
1.06k
                    ? Inst->getForwardingOwnershipKind()
2523
1.06k
                    : ValueOwnershipKind(OwnershipKind::None)));
2524
1.06k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
Line
Count
Source
2512
2.83k
visitOpenExistentialRefInst(OpenExistentialRefInst *Inst) {
2513
  // Create a new archetype for this opened existential type.
2514
2.83k
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2515
2516
2.83k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2517
2.83k
  recordClonedInstruction(
2518
2.83k
      Inst, getBuilder().createOpenExistentialRef(
2519
2.83k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2520
2.83k
                getOpType(Inst->getType()),
2521
2.83k
                getBuilder().hasOwnership()
2522
2.83k
                    ? Inst->getForwardingOwnershipKind()
2523
2.83k
                    : ValueOwnershipKind(OwnershipKind::None)));
2524
2.83k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitOpenExistentialRefInstEPNS_22OpenExistentialRefInstE
2525
2526
template<typename ImplClass>
2527
void
2528
SILCloner<ImplClass>::
2529
1
visitOpenExistentialBoxInst(OpenExistentialBoxInst *Inst) {
2530
  // Create a new archetype for this opened existential type.
2531
1
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2532
2533
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2534
1
  recordClonedInstruction(Inst, getBuilder().createOpenExistentialBox(
2535
1
                                    getOpLocation(Inst->getLoc()),
2536
1
                                    getOpValue(Inst->getOperand()),
2537
1
                                    getOpType(Inst->getType())));
2538
1
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
_ZN5swift9SILClonerINS_13GenericClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Line
Count
Source
2529
1
visitOpenExistentialBoxInst(OpenExistentialBoxInst *Inst) {
2530
  // Create a new archetype for this opened existential type.
2531
1
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2532
2533
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2534
1
  recordClonedInstruction(Inst, getBuilder().createOpenExistentialBox(
2535
1
                                    getOpLocation(Inst->getLoc()),
2536
1
                                    getOpValue(Inst->getOperand()),
2537
1
                                    getOpType(Inst->getType())));
2538
1
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitOpenExistentialBoxInstEPNS_22OpenExistentialBoxInstE
2539
2540
template<typename ImplClass>
2541
void
2542
SILCloner<ImplClass>::
2543
0
visitOpenExistentialBoxValueInst(OpenExistentialBoxValueInst *Inst) {
2544
  // Create a new archetype for this opened existential type.
2545
0
  remapRootOpenedType(Inst->getType().castTo<OpenedArchetypeType>());
2546
2547
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2548
0
  recordClonedInstruction(
2549
0
      Inst, getBuilder().createOpenExistentialBoxValue(
2550
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2551
0
                getOpType(Inst->getType()),
2552
0
                getBuilder().hasOwnership()
2553
0
                    ? Inst->getForwardingOwnershipKind()
2554
0
                    : ValueOwnershipKind(OwnershipKind::None)));
2555
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE32visitOpenExistentialBoxValueInstEPNS_27OpenExistentialBoxValueInstE
2556
2557
template<typename ImplClass>
2558
void
2559
184
SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) {
2560
184
  CanType origFormalType = Inst->getFormalConcreteType();
2561
2562
184
  auto conformances = getOpConformances(origFormalType,
2563
184
                                        Inst->getConformances());
2564
2565
184
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2566
184
  recordClonedInstruction(
2567
184
      Inst, getBuilder().createInitExistentialAddr(
2568
184
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2569
184
                getOpASTType(origFormalType),
2570
184
                getOpType(Inst->getLoweredConcreteType()), conformances));
2571
184
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Line
Count
Source
2559
1
SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) {
2560
1
  CanType origFormalType = Inst->getFormalConcreteType();
2561
2562
1
  auto conformances = getOpConformances(origFormalType,
2563
1
                                        Inst->getConformances());
2564
2565
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2566
1
  recordClonedInstruction(
2567
1
      Inst, getBuilder().createInitExistentialAddr(
2568
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2569
1
                getOpASTType(origFormalType),
2570
1
                getOpType(Inst->getLoweredConcreteType()), conformances));
2571
1
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Line
Count
Source
2559
2
SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) {
2560
2
  CanType origFormalType = Inst->getFormalConcreteType();
2561
2562
2
  auto conformances = getOpConformances(origFormalType,
2563
2
                                        Inst->getConformances());
2564
2565
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2566
2
  recordClonedInstruction(
2567
2
      Inst, getBuilder().createInitExistentialAddr(
2568
2
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2569
2
                getOpASTType(origFormalType),
2570
2
                getOpType(Inst->getLoweredConcreteType()), conformances));
2571
2
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Line
Count
Source
2559
1
SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) {
2560
1
  CanType origFormalType = Inst->getFormalConcreteType();
2561
2562
1
  auto conformances = getOpConformances(origFormalType,
2563
1
                                        Inst->getConformances());
2564
2565
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2566
1
  recordClonedInstruction(
2567
1
      Inst, getBuilder().createInitExistentialAddr(
2568
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2569
1
                getOpASTType(origFormalType),
2570
1
                getOpType(Inst->getLoweredConcreteType()), conformances));
2571
1
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Line
Count
Source
2559
17
SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) {
2560
17
  CanType origFormalType = Inst->getFormalConcreteType();
2561
2562
17
  auto conformances = getOpConformances(origFormalType,
2563
17
                                        Inst->getConformances());
2564
2565
17
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2566
17
  recordClonedInstruction(
2567
17
      Inst, getBuilder().createInitExistentialAddr(
2568
17
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2569
17
                getOpASTType(origFormalType),
2570
17
                getOpType(Inst->getLoweredConcreteType()), conformances));
2571
17
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
Line
Count
Source
2559
163
SILCloner<ImplClass>::visitInitExistentialAddrInst(InitExistentialAddrInst *Inst) {
2560
163
  CanType origFormalType = Inst->getFormalConcreteType();
2561
2562
163
  auto conformances = getOpConformances(origFormalType,
2563
163
                                        Inst->getConformances());
2564
2565
163
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2566
163
  recordClonedInstruction(
2567
163
      Inst, getBuilder().createInitExistentialAddr(
2568
163
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
2569
163
                getOpASTType(origFormalType),
2570
163
                getOpType(Inst->getLoweredConcreteType()), conformances));
2571
163
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitInitExistentialAddrInstEPNS_23InitExistentialAddrInstE
2572
2573
template <typename ImplClass>
2574
void SILCloner<ImplClass>::visitInitExistentialValueInst(
2575
0
    InitExistentialValueInst *Inst) {
2576
0
  CanType origFormalType = Inst->getFormalConcreteType();
2577
2578
0
  auto conformances = getOpConformances(origFormalType,
2579
0
                                        Inst->getConformances());
2580
2581
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2582
0
  recordClonedInstruction(
2583
0
      Inst, getBuilder().createInitExistentialValue(
2584
0
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2585
0
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2586
0
                conformances));
2587
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitInitExistentialValueInstEPNS_24InitExistentialValueInstE
2588
2589
template<typename ImplClass>
2590
void
2591
SILCloner<ImplClass>::
2592
3.18k
visitInitExistentialMetatypeInst(InitExistentialMetatypeInst *Inst) {
2593
3.18k
  auto origFormalType = Inst->getFormalErasedObjectType();
2594
3.18k
  auto conformances = getOpConformances(origFormalType,
2595
3.18k
                                        Inst->getConformances());
2596
2597
3.18k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2598
3.18k
  recordClonedInstruction(Inst, getBuilder().createInitExistentialMetatype(
2599
3.18k
                                    getOpLocation(Inst->getLoc()),
2600
3.18k
                                    getOpValue(Inst->getOperand()),
2601
3.18k
                                    getOpType(Inst->getType()), conformances));
2602
3.18k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Line
Count
Source
2592
1
visitInitExistentialMetatypeInst(InitExistentialMetatypeInst *Inst) {
2593
1
  auto origFormalType = Inst->getFormalErasedObjectType();
2594
1
  auto conformances = getOpConformances(origFormalType,
2595
1
                                        Inst->getConformances());
2596
2597
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2598
1
  recordClonedInstruction(Inst, getBuilder().createInitExistentialMetatype(
2599
1
                                    getOpLocation(Inst->getLoc()),
2600
1
                                    getOpValue(Inst->getOperand()),
2601
1
                                    getOpType(Inst->getType()), conformances));
2602
1
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Line
Count
Source
2592
39
visitInitExistentialMetatypeInst(InitExistentialMetatypeInst *Inst) {
2593
39
  auto origFormalType = Inst->getFormalErasedObjectType();
2594
39
  auto conformances = getOpConformances(origFormalType,
2595
39
                                        Inst->getConformances());
2596
2597
39
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2598
39
  recordClonedInstruction(Inst, getBuilder().createInitExistentialMetatype(
2599
39
                                    getOpLocation(Inst->getLoc()),
2600
39
                                    getOpValue(Inst->getOperand()),
2601
39
                                    getOpType(Inst->getType()), conformances));
2602
39
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
_ZN5swift9SILClonerINS_13GenericClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Line
Count
Source
2592
2.11k
visitInitExistentialMetatypeInst(InitExistentialMetatypeInst *Inst) {
2593
2.11k
  auto origFormalType = Inst->getFormalErasedObjectType();
2594
2.11k
  auto conformances = getOpConformances(origFormalType,
2595
2.11k
                                        Inst->getConformances());
2596
2597
2.11k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2598
2.11k
  recordClonedInstruction(Inst, getBuilder().createInitExistentialMetatype(
2599
2.11k
                                    getOpLocation(Inst->getLoc()),
2600
2.11k
                                    getOpValue(Inst->getOperand()),
2601
2.11k
                                    getOpType(Inst->getType()), conformances));
2602
2.11k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
Line
Count
Source
2592
1.02k
visitInitExistentialMetatypeInst(InitExistentialMetatypeInst *Inst) {
2593
1.02k
  auto origFormalType = Inst->getFormalErasedObjectType();
2594
1.02k
  auto conformances = getOpConformances(origFormalType,
2595
1.02k
                                        Inst->getConformances());
2596
2597
1.02k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2598
1.02k
  recordClonedInstruction(Inst, getBuilder().createInitExistentialMetatype(
2599
1.02k
                                    getOpLocation(Inst->getLoc()),
2600
1.02k
                                    getOpValue(Inst->getOperand()),
2601
1.02k
                                    getOpType(Inst->getType()), conformances));
2602
1.02k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE32visitInitExistentialMetatypeInstEPNS_27InitExistentialMetatypeInstE
2603
2604
template<typename ImplClass>
2605
void
2606
SILCloner<ImplClass>::
2607
3.88k
visitInitExistentialRefInst(InitExistentialRefInst *Inst) {
2608
3.88k
  CanType origFormalType = Inst->getFormalConcreteType();
2609
3.88k
  auto conformances = getOpConformances(origFormalType,
2610
3.88k
                                        Inst->getConformances());
2611
2612
3.88k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2613
3.88k
  recordClonedInstruction(
2614
3.88k
      Inst, getBuilder().createInitExistentialRef(
2615
3.88k
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2616
3.88k
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2617
3.88k
                conformances));
2618
3.88k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Line
Count
Source
2607
101
visitInitExistentialRefInst(InitExistentialRefInst *Inst) {
2608
101
  CanType origFormalType = Inst->getFormalConcreteType();
2609
101
  auto conformances = getOpConformances(origFormalType,
2610
101
                                        Inst->getConformances());
2611
2612
101
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2613
101
  recordClonedInstruction(
2614
101
      Inst, getBuilder().createInitExistentialRef(
2615
101
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2616
101
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2617
101
                conformances));
2618
101
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Line
Count
Source
2607
1
visitInitExistentialRefInst(InitExistentialRefInst *Inst) {
2608
1
  CanType origFormalType = Inst->getFormalConcreteType();
2609
1
  auto conformances = getOpConformances(origFormalType,
2610
1
                                        Inst->getConformances());
2611
2612
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2613
1
  recordClonedInstruction(
2614
1
      Inst, getBuilder().createInitExistentialRef(
2615
1
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2616
1
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2617
1
                conformances));
2618
1
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Line
Count
Source
2607
7
visitInitExistentialRefInst(InitExistentialRefInst *Inst) {
2608
7
  CanType origFormalType = Inst->getFormalConcreteType();
2609
7
  auto conformances = getOpConformances(origFormalType,
2610
7
                                        Inst->getConformances());
2611
2612
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2613
7
  recordClonedInstruction(
2614
7
      Inst, getBuilder().createInitExistentialRef(
2615
7
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2616
7
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2617
7
                conformances));
2618
7
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Line
Count
Source
2607
2
visitInitExistentialRefInst(InitExistentialRefInst *Inst) {
2608
2
  CanType origFormalType = Inst->getFormalConcreteType();
2609
2
  auto conformances = getOpConformances(origFormalType,
2610
2
                                        Inst->getConformances());
2611
2612
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2613
2
  recordClonedInstruction(
2614
2
      Inst, getBuilder().createInitExistentialRef(
2615
2
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2616
2
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2617
2
                conformances));
2618
2
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Line
Count
Source
2607
6
visitInitExistentialRefInst(InitExistentialRefInst *Inst) {
2608
6
  CanType origFormalType = Inst->getFormalConcreteType();
2609
6
  auto conformances = getOpConformances(origFormalType,
2610
6
                                        Inst->getConformances());
2611
2612
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2613
6
  recordClonedInstruction(
2614
6
      Inst, getBuilder().createInitExistentialRef(
2615
6
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2616
6
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2617
6
                conformances));
2618
6
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Line
Count
Source
2607
2
visitInitExistentialRefInst(InitExistentialRefInst *Inst) {
2608
2
  CanType origFormalType = Inst->getFormalConcreteType();
2609
2
  auto conformances = getOpConformances(origFormalType,
2610
2
                                        Inst->getConformances());
2611
2612
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2613
2
  recordClonedInstruction(
2614
2
      Inst, getBuilder().createInitExistentialRef(
2615
2
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2616
2
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2617
2
                conformances));
2618
2
}
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
_ZN5swift9SILClonerINS_13GenericClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Line
Count
Source
2607
1.81k
visitInitExistentialRefInst(InitExistentialRefInst *Inst) {
2608
1.81k
  CanType origFormalType = Inst->getFormalConcreteType();
2609
1.81k
  auto conformances = getOpConformances(origFormalType,
2610
1.81k
                                        Inst->getConformances());
2611
2612
1.81k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2613
1.81k
  recordClonedInstruction(
2614
1.81k
      Inst, getBuilder().createInitExistentialRef(
2615
1.81k
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2616
1.81k
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2617
1.81k
                conformances));
2618
1.81k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Line
Count
Source
2607
1.94k
visitInitExistentialRefInst(InitExistentialRefInst *Inst) {
2608
1.94k
  CanType origFormalType = Inst->getFormalConcreteType();
2609
1.94k
  auto conformances = getOpConformances(origFormalType,
2610
1.94k
                                        Inst->getConformances());
2611
2612
1.94k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2613
1.94k
  recordClonedInstruction(
2614
1.94k
      Inst, getBuilder().createInitExistentialRef(
2615
1.94k
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2616
1.94k
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2617
1.94k
                conformances));
2618
1.94k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE27visitInitExistentialRefInstEPNS_22InitExistentialRefInstE
Line
Count
Source
2607
13
visitInitExistentialRefInst(InitExistentialRefInst *Inst) {
2608
13
  CanType origFormalType = Inst->getFormalConcreteType();
2609
13
  auto conformances = getOpConformances(origFormalType,
2610
13
                                        Inst->getConformances());
2611
2612
13
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2613
13
  recordClonedInstruction(
2614
13
      Inst, getBuilder().createInitExistentialRef(
2615
13
                getOpLocation(Inst->getLoc()), getOpType(Inst->getType()),
2616
13
                getOpASTType(origFormalType), getOpValue(Inst->getOperand()),
2617
13
                conformances));
2618
13
}
2619
2620
template<typename ImplClass>
2621
void
2622
0
SILCloner<ImplClass>::visitDeinitExistentialAddrInst(DeinitExistentialAddrInst *Inst) {
2623
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2624
0
  recordClonedInstruction(
2625
0
      Inst, getBuilder().createDeinitExistentialAddr(
2626
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
2627
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitDeinitExistentialAddrInstEPNS_25DeinitExistentialAddrInstE
2628
2629
template <typename ImplClass>
2630
void SILCloner<ImplClass>::visitDeinitExistentialValueInst(
2631
0
    DeinitExistentialValueInst *Inst) {
2632
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2633
0
  recordClonedInstruction(
2634
0
      Inst, getBuilder().createDeinitExistentialValue(
2635
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
2636
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitDeinitExistentialValueInstEPNS_26DeinitExistentialValueInstE
2637
2638
template <typename ImplClass>
2639
0
void SILCloner<ImplClass>::visitPackLengthInst(PackLengthInst *Inst) {
2640
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2641
2642
0
  auto loc = getOpLocation(Inst->getLoc());
2643
0
  auto newPackType = cast<PackType>(getOpASTType(Inst->getPackType()));
2644
2645
0
  recordClonedInstruction(
2646
0
      Inst, getBuilder().createPackLength(loc, newPackType));
2647
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitPackLengthInstEPNS_14PackLengthInstE
2648
2649
template <typename ImplClass>
2650
void SILCloner<ImplClass>::visitDynamicPackIndexInst(
2651
0
    DynamicPackIndexInst *Inst) {
2652
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2653
2654
0
  auto newIndexValue = getOpValue(Inst->getOperand());
2655
0
  auto loc = getOpLocation(Inst->getLoc());
2656
0
  auto newPackType = cast<PackType>(getOpASTType(Inst->getIndexedPackType()));
2657
2658
0
  recordClonedInstruction(
2659
0
      Inst, getBuilder().createDynamicPackIndex(loc, newIndexValue,
2660
0
                                                newPackType));
2661
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitDynamicPackIndexInstEPNS_20DynamicPackIndexInstE
2662
2663
template <typename ImplClass>
2664
0
void SILCloner<ImplClass>::visitPackPackIndexInst(PackPackIndexInst *Inst) {
2665
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2666
2667
0
  auto newIndexValue = getOpValue(Inst->getOperand());
2668
0
  auto loc = getOpLocation(Inst->getLoc());
2669
0
  auto newPackType = cast<PackType>(getOpASTType(Inst->getIndexedPackType()));
2670
2671
0
  auto newComponentStartIndex =
2672
0
    getOpStructuralPackIndex(Inst->getIndexedPackType(),
2673
0
                             Inst->getComponentStartIndex());
2674
2675
0
  recordClonedInstruction(
2676
0
      Inst, getBuilder().createPackPackIndex(loc, newComponentStartIndex,
2677
0
                                             newIndexValue, newPackType));
2678
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitPackPackIndexInstEPNS_17PackPackIndexInstE
2679
2680
template <typename ImplClass>
2681
void SILCloner<ImplClass>::visitScalarPackIndexInst(
2682
0
    ScalarPackIndexInst *Inst) {
2683
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2684
2685
0
  auto loc = getOpLocation(Inst->getLoc());
2686
0
  auto newPackType = cast<PackType>(getOpASTType(Inst->getIndexedPackType()));
2687
2688
0
  auto newComponentIndex =
2689
0
    getOpStructuralPackIndex(Inst->getIndexedPackType(),
2690
0
                             Inst->getComponentIndex());
2691
2692
0
  recordClonedInstruction(
2693
0
      Inst, getBuilder().createScalarPackIndex(loc, newComponentIndex,
2694
0
                                               newPackType));
2695
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitScalarPackIndexInstEPNS_19ScalarPackIndexInstE
2696
2697
template <typename ImplClass>
2698
void SILCloner<ImplClass>::visitOpenPackElementInst(
2699
0
    OpenPackElementInst *Inst) {
2700
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2701
2702
0
  auto newIndexValue = getOpValue(Inst->getIndexOperand());
2703
0
  auto loc = getOpLocation(Inst->getLoc());
2704
2705
  // We need to make a new opened-element environment.  This is *not*
2706
  // a refinement of the contextual environment of the new insertion
2707
  // site; we just substitute the contextual substitutions in the
2708
  // opened environment and build a new one.
2709
0
  auto origEnv = Inst->getOpenedGenericEnvironment();
2710
2711
  // Substitute the contextual substitutions.
2712
0
  auto newContextSubs =
2713
0
    getOpSubstitutionMap(origEnv->getPackElementContextSubstitutions());
2714
2715
  // The opened shape class is a parameter of the original signature,
2716
  // which is unchanged.
2717
0
  auto openedShapeClass = origEnv->getOpenedElementShapeClass();
2718
2719
  // Build the new environment.
2720
0
  auto newEnv =
2721
0
    GenericEnvironment::forOpenedElement(origEnv->getGenericSignature(),
2722
0
                                         UUID::fromTime(),
2723
0
                                         openedShapeClass,
2724
0
                                         newContextSubs);
2725
2726
  // Associate the old opened archetypes with the new ones.
2727
0
  SmallVector<ArchetypeType*, 4> oldOpenedArchetypes;
2728
0
  origEnv->forEachPackElementArchetype([&](ElementArchetypeType *oldType) {
2729
0
    oldOpenedArchetypes.push_back(oldType);
2730
0
  });
Unexecuted instantiation: LoadableByAddress.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES8_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES8_
Unexecuted instantiation: ExistentialTransform.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: CapturePropagation.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: ClosureSpecializer.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: LoopUnroll.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: CapturePromotion.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_
Unexecuted instantiation: AllocBoxToStack.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: CSE.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_16BasicBlockClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_
Unexecuted instantiation: SerializeSILPass.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_13GenericClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_15SILInlineClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_17SILFunctionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES6_
Unexecuted instantiation: SILInstruction.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE_clES7_
2731
0
  {
2732
0
    size_t nextOldIndex = 0;
2733
0
    newEnv->forEachPackElementArchetype([&](ElementArchetypeType *newType) {
2734
0
      ArchetypeType *oldType = oldOpenedArchetypes[nextOldIndex++];
2735
0
      registerLocalArchetypeRemapping(oldType, newType);
2736
0
    });
Unexecuted instantiation: LoadableByAddress.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES8_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES8_
Unexecuted instantiation: ExistentialTransform.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: CapturePropagation.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: ClosureSpecializer.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: LoopUnroll.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: CapturePromotion.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_
Unexecuted instantiation: AllocBoxToStack.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: CSE.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_16BasicBlockClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_
Unexecuted instantiation: SerializeSILPass.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_13GenericClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_15SILInlineClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_
Unexecuted instantiation: _ZZN5swift9SILClonerINS_17SILFunctionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES6_
Unexecuted instantiation: SILInstruction.cpp:_ZZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstEENKUlPNS_20ElementArchetypeTypeEE0_clES7_
2737
0
    assert(nextOldIndex == oldOpenedArchetypes.size() &&
2738
0
           "different opened archetype count");
2739
0
  }
2740
2741
0
  recordClonedInstruction(
2742
0
      Inst, getBuilder().createOpenPackElement(loc, newIndexValue, newEnv));
2743
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitOpenPackElementInstEPNS_19OpenPackElementInstE
2744
2745
template <typename ImplClass>
2746
0
void SILCloner<ImplClass>::visitPackElementGetInst(PackElementGetInst *Inst) {
2747
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2748
0
  auto loc = getOpLocation(Inst->getLoc());
2749
0
  auto newIndex = getOpValue(Inst->getIndex());
2750
0
  auto newPack = getOpValue(Inst->getPack());
2751
0
  auto newElementType = getOpType(Inst->getElementType());
2752
0
  recordClonedInstruction(
2753
0
      Inst, getBuilder().createPackElementGet(loc, newIndex, newPack,
2754
0
                                              newElementType));
2755
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitPackElementGetInstEPNS_18PackElementGetInstE
2756
2757
template <typename ImplClass>
2758
0
void SILCloner<ImplClass>::visitPackElementSetInst(PackElementSetInst *Inst) {
2759
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2760
0
  auto loc = getOpLocation(Inst->getLoc());
2761
0
  auto newElementValue = getOpValue(Inst->getValue());
2762
0
  auto newIndex = getOpValue(Inst->getIndex());
2763
0
  auto newPack = getOpValue(Inst->getPack());
2764
0
  recordClonedInstruction(
2765
0
      Inst, getBuilder().createPackElementSet(loc, newElementValue,
2766
0
                                              newIndex, newPack));
2767
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitPackElementSetInstEPNS_18PackElementSetInstE
2768
2769
template <typename ImplClass>
2770
void SILCloner<ImplClass>::visitTuplePackElementAddrInst(
2771
0
                                             TuplePackElementAddrInst *Inst) {
2772
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2773
0
  auto loc = getOpLocation(Inst->getLoc());
2774
0
  auto newIndex = getOpValue(Inst->getIndex());
2775
0
  auto newTuple = getOpValue(Inst->getTuple());
2776
0
  auto newElementType = getOpType(Inst->getElementType());
2777
2778
  // If the tuple-ness of the operand disappears due to substitution,
2779
  // replace this instruction with an unchecked_addr_cast.
2780
  // FIXME: use type_refine_addr instead
2781
0
  if (doesOpTupleDisappear(Inst->getTupleType())) {
2782
0
    recordClonedInstruction(
2783
0
        Inst, getBuilder().createUncheckedAddrCast(loc, newTuple,
2784
0
                                                   newElementType));
2785
0
    return;
2786
0
  }
2787
2788
0
  recordClonedInstruction(
2789
0
      Inst, getBuilder().createTuplePackElementAddr(loc, newIndex, newTuple,
2790
0
                                                    newElementType));
2791
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitTuplePackElementAddrInstEPNS_24TuplePackElementAddrInstE
2792
2793
template <typename ImplClass>
2794
void SILCloner<ImplClass>::visitTuplePackExtractInst(
2795
0
    TuplePackExtractInst *Inst) {
2796
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2797
0
  auto loc = getOpLocation(Inst->getLoc());
2798
0
  auto newIndex = getOpValue(Inst->getIndex());
2799
0
  auto newTuple = getOpValue(Inst->getTuple());
2800
0
  auto newElementType = getOpType(Inst->getElementType());
2801
2802
  // If the tuple-ness of the operand disappears due to substitution,
2803
  // replace this instruction with an unchecked_value_cast.
2804
0
  if (doesOpTupleDisappear(Inst->getTupleType())) {
2805
0
    recordClonedInstruction(Inst, getBuilder().createUncheckedValueCast(
2806
0
                                      loc, newTuple, newElementType));
2807
0
    return;
2808
0
  }
2809
2810
0
  recordClonedInstruction(Inst, getBuilder().createTuplePackExtract(
2811
0
                                    loc, newIndex, newTuple, newElementType));
2812
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitTuplePackExtractInstEPNS_20TuplePackExtractInstE
2813
2814
template<typename ImplClass>
2815
void
2816
7
SILCloner<ImplClass>::visitCopyBlockInst(CopyBlockInst *Inst) {
2817
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2818
7
  recordClonedInstruction(
2819
7
      Inst, Builder.createCopyBlock(getOpLocation(Inst->getLoc()),
2820
7
                                    getOpValue(Inst->getOperand())));
2821
7
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
Line
Count
Source
2816
7
SILCloner<ImplClass>::visitCopyBlockInst(CopyBlockInst *Inst) {
2817
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2818
7
  recordClonedInstruction(
2819
7
      Inst, Builder.createCopyBlock(getOpLocation(Inst->getLoc()),
2820
7
                                    getOpValue(Inst->getOperand())));
2821
7
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitCopyBlockInstEPNS_13CopyBlockInstE
2822
2823
template <typename ImplClass>
2824
void SILCloner<ImplClass>::visitCopyBlockWithoutEscapingInst(
2825
0
    CopyBlockWithoutEscapingInst *Inst) {
2826
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2827
0
  recordClonedInstruction(Inst, Builder.createCopyBlockWithoutEscaping(
2828
0
                                    getOpLocation(Inst->getLoc()),
2829
0
                                    getOpValue(Inst->getBlock()),
2830
0
                                    getOpValue(Inst->getClosure())));
2831
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE33visitCopyBlockWithoutEscapingInstEPNS_28CopyBlockWithoutEscapingInstE
2832
2833
template<typename ImplClass>
2834
void
2835
6.20k
SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) {
2836
6.20k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2837
6.20k
  recordClonedInstruction(
2838
6.20k
      Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()),
2839
6.20k
                                            getOpValue(Inst->getOperand()),
2840
6.20k
                                            Inst->getAtomicity()));
2841
6.20k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitStrongRetainInstEPNS_16StrongRetainInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Line
Count
Source
2835
41
SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) {
2836
41
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2837
41
  recordClonedInstruction(
2838
41
      Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()),
2839
41
                                            getOpValue(Inst->getOperand()),
2840
41
                                            Inst->getAtomicity()));
2841
41
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Line
Count
Source
2835
53
SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) {
2836
53
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2837
53
  recordClonedInstruction(
2838
53
      Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()),
2839
53
                                            getOpValue(Inst->getOperand()),
2840
53
                                            Inst->getAtomicity()));
2841
53
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Line
Count
Source
2835
9
SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) {
2836
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2837
9
  recordClonedInstruction(
2838
9
      Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()),
2839
9
                                            getOpValue(Inst->getOperand()),
2840
9
                                            Inst->getAtomicity()));
2841
9
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitStrongRetainInstEPNS_16StrongRetainInstE
_ZN5swift9SILClonerINS_13GenericClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Line
Count
Source
2835
2.98k
SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) {
2836
2.98k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2837
2.98k
  recordClonedInstruction(
2838
2.98k
      Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()),
2839
2.98k
                                            getOpValue(Inst->getOperand()),
2840
2.98k
                                            Inst->getAtomicity()));
2841
2.98k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Line
Count
Source
2835
3.11k
SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) {
2836
3.11k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2837
3.11k
  recordClonedInstruction(
2838
3.11k
      Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()),
2839
3.11k
                                            getOpValue(Inst->getOperand()),
2840
3.11k
                                            Inst->getAtomicity()));
2841
3.11k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitStrongRetainInstEPNS_16StrongRetainInstE
Line
Count
Source
2835
1
SILCloner<ImplClass>::visitStrongRetainInst(StrongRetainInst *Inst) {
2836
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2837
1
  recordClonedInstruction(
2838
1
      Inst, getBuilder().createStrongRetain(getOpLocation(Inst->getLoc()),
2839
1
                                            getOpValue(Inst->getOperand()),
2840
1
                                            Inst->getAtomicity()));
2841
1
}
2842
2843
template<typename ImplClass>
2844
void
2845
SILCloner<ImplClass>::visitClassifyBridgeObjectInst(
2846
17.0k
                                            ClassifyBridgeObjectInst *Inst) {
2847
17.0k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2848
17.0k
  recordClonedInstruction(
2849
17.0k
      Inst, getBuilder().createClassifyBridgeObject(
2850
17.0k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
2851
17.0k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Line
Count
Source
2846
7
                                            ClassifyBridgeObjectInst *Inst) {
2847
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2848
7
  recordClonedInstruction(
2849
7
      Inst, getBuilder().createClassifyBridgeObject(
2850
7
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
2851
7
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Line
Count
Source
2846
125
                                            ClassifyBridgeObjectInst *Inst) {
2847
125
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2848
125
  recordClonedInstruction(
2849
125
      Inst, getBuilder().createClassifyBridgeObject(
2850
125
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
2851
125
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Line
Count
Source
2846
9
                                            ClassifyBridgeObjectInst *Inst) {
2847
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2848
9
  recordClonedInstruction(
2849
9
      Inst, getBuilder().createClassifyBridgeObject(
2850
9
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
2851
9
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
_ZN5swift9SILClonerINS_13GenericClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Line
Count
Source
2846
12.1k
                                            ClassifyBridgeObjectInst *Inst) {
2847
12.1k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2848
12.1k
  recordClonedInstruction(
2849
12.1k
      Inst, getBuilder().createClassifyBridgeObject(
2850
12.1k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
2851
12.1k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Line
Count
Source
2846
4.73k
                                            ClassifyBridgeObjectInst *Inst) {
2847
4.73k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2848
4.73k
  recordClonedInstruction(
2849
4.73k
      Inst, getBuilder().createClassifyBridgeObject(
2850
4.73k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
2851
4.73k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitClassifyBridgeObjectInstEPNS_24ClassifyBridgeObjectInstE
Line
Count
Source
2846
3
                                            ClassifyBridgeObjectInst *Inst) {
2847
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2848
3
  recordClonedInstruction(
2849
3
      Inst, getBuilder().createClassifyBridgeObject(
2850
3
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand())));
2851
3
}
2852
2853
template<typename ImplClass>
2854
void
2855
2.01k
SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) {
2856
2.01k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2857
2.01k
  recordClonedInstruction(
2858
2.01k
      Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()),
2859
2.01k
                                           getOpValue(Inst->getOperand())));
2860
2.01k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Line
Count
Source
2855
4
SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) {
2856
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2857
4
  recordClonedInstruction(
2858
4
      Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()),
2859
4
                                           getOpValue(Inst->getOperand())));
2860
4
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Line
Count
Source
2855
2
SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) {
2856
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2857
2
  recordClonedInstruction(
2858
2
      Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()),
2859
2
                                           getOpValue(Inst->getOperand())));
2860
2
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Line
Count
Source
2855
94
SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) {
2856
94
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2857
94
  recordClonedInstruction(
2858
94
      Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()),
2859
94
                                           getOpValue(Inst->getOperand())));
2860
94
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Line
Count
Source
2855
7
SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) {
2856
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2857
7
  recordClonedInstruction(
2858
7
      Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()),
2859
7
                                           getOpValue(Inst->getOperand())));
2860
7
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
_ZN5swift9SILClonerINS_13GenericClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Line
Count
Source
2855
676
SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) {
2856
676
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2857
676
  recordClonedInstruction(
2858
676
      Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()),
2859
676
                                           getOpValue(Inst->getOperand())));
2860
676
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Line
Count
Source
2855
951
SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) {
2856
951
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2857
951
  recordClonedInstruction(
2858
951
      Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()),
2859
951
                                           getOpValue(Inst->getOperand())));
2860
951
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitFixLifetimeInstEPNS_15FixLifetimeInstE
Line
Count
Source
2855
277
SILCloner<ImplClass>::visitFixLifetimeInst(FixLifetimeInst *Inst) {
2856
277
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2857
277
  recordClonedInstruction(
2858
277
      Inst, getBuilder().createFixLifetime(getOpLocation(Inst->getLoc()),
2859
277
                                           getOpValue(Inst->getOperand())));
2860
277
}
2861
2862
template <typename ImplClass>
2863
2
void SILCloner<ImplClass>::visitEndLifetimeInst(EndLifetimeInst *Inst) {
2864
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2865
2866
  // These are only needed in OSSA.
2867
2
  if (!getBuilder().hasOwnership())
2868
0
    return;
2869
2870
2
  recordClonedInstruction(
2871
2
      Inst, getBuilder().createEndLifetime(getOpLocation(Inst->getLoc()),
2872
2
                                           getOpValue(Inst->getOperand())));
2873
2
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Line
Count
Source
2863
2
void SILCloner<ImplClass>::visitEndLifetimeInst(EndLifetimeInst *Inst) {
2864
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2865
2866
  // These are only needed in OSSA.
2867
2
  if (!getBuilder().hasOwnership())
2868
0
    return;
2869
2870
2
  recordClonedInstruction(
2871
2
      Inst, getBuilder().createEndLifetime(getOpLocation(Inst->getLoc()),
2872
2
                                           getOpValue(Inst->getOperand())));
2873
2
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitEndLifetimeInstEPNS_15EndLifetimeInstE
2874
2875
template <typename ImplClass>
2876
void SILCloner<ImplClass>::visitUncheckedOwnershipConversionInst(
2877
27
    UncheckedOwnershipConversionInst *Inst) {
2878
27
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2879
2880
27
  if (!getBuilder().hasOwnership()) {
2881
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
2882
0
  }
2883
2884
27
  ValueOwnershipKind Kind = SILValue(Inst)->getOwnershipKind();
2885
27
  if (getOpValue(Inst->getOperand())->getOwnershipKind() ==
2886
27
      OwnershipKind::None) {
2887
0
    Kind = OwnershipKind::None;
2888
0
  }
2889
27
  recordClonedInstruction(Inst, getBuilder().createUncheckedOwnershipConversion(
2890
27
                                    getOpLocation(Inst->getLoc()),
2891
27
                                    getOpValue(Inst->getOperand()), Kind));
2892
27
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Line
Count
Source
2877
1
    UncheckedOwnershipConversionInst *Inst) {
2878
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2879
2880
1
  if (!getBuilder().hasOwnership()) {
2881
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
2882
0
  }
2883
2884
1
  ValueOwnershipKind Kind = SILValue(Inst)->getOwnershipKind();
2885
1
  if (getOpValue(Inst->getOperand())->getOwnershipKind() ==
2886
1
      OwnershipKind::None) {
2887
0
    Kind = OwnershipKind::None;
2888
0
  }
2889
1
  recordClonedInstruction(Inst, getBuilder().createUncheckedOwnershipConversion(
2890
1
                                    getOpLocation(Inst->getLoc()),
2891
1
                                    getOpValue(Inst->getOperand()), Kind));
2892
1
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
Line
Count
Source
2877
26
    UncheckedOwnershipConversionInst *Inst) {
2878
26
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2879
2880
26
  if (!getBuilder().hasOwnership()) {
2881
0
    return recordFoldedValue(Inst, getOpValue(Inst->getOperand()));
2882
0
  }
2883
2884
26
  ValueOwnershipKind Kind = SILValue(Inst)->getOwnershipKind();
2885
26
  if (getOpValue(Inst->getOperand())->getOwnershipKind() ==
2886
26
      OwnershipKind::None) {
2887
0
    Kind = OwnershipKind::None;
2888
0
  }
2889
26
  recordClonedInstruction(Inst, getBuilder().createUncheckedOwnershipConversion(
2890
26
                                    getOpLocation(Inst->getLoc()),
2891
26
                                    getOpValue(Inst->getOperand()), Kind));
2892
26
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE37visitUncheckedOwnershipConversionInstEPNS_32UncheckedOwnershipConversionInstE
2893
2894
template <typename ImplClass>
2895
334
void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) {
2896
334
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2897
334
  recordClonedInstruction(
2898
334
      Inst, getBuilder().createMarkDependence(
2899
334
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()),
2900
334
                getOpValue(Inst->getBase()),
2901
334
                getBuilder().hasOwnership()
2902
334
                    ? Inst->getForwardingOwnershipKind()
2903
334
                    : ValueOwnershipKind(OwnershipKind::None)));
2904
334
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Line
Count
Source
2895
5
void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) {
2896
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2897
5
  recordClonedInstruction(
2898
5
      Inst, getBuilder().createMarkDependence(
2899
5
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()),
2900
5
                getOpValue(Inst->getBase()),
2901
5
                getBuilder().hasOwnership()
2902
5
                    ? Inst->getForwardingOwnershipKind()
2903
5
                    : ValueOwnershipKind(OwnershipKind::None)));
2904
5
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Line
Count
Source
2895
1
void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) {
2896
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2897
1
  recordClonedInstruction(
2898
1
      Inst, getBuilder().createMarkDependence(
2899
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()),
2900
1
                getOpValue(Inst->getBase()),
2901
1
                getBuilder().hasOwnership()
2902
1
                    ? Inst->getForwardingOwnershipKind()
2903
1
                    : ValueOwnershipKind(OwnershipKind::None)));
2904
1
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Line
Count
Source
2895
1
void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) {
2896
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2897
1
  recordClonedInstruction(
2898
1
      Inst, getBuilder().createMarkDependence(
2899
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()),
2900
1
                getOpValue(Inst->getBase()),
2901
1
                getBuilder().hasOwnership()
2902
1
                    ? Inst->getForwardingOwnershipKind()
2903
1
                    : ValueOwnershipKind(OwnershipKind::None)));
2904
1
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
_ZN5swift9SILClonerINS_13GenericClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Line
Count
Source
2895
114
void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) {
2896
114
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2897
114
  recordClonedInstruction(
2898
114
      Inst, getBuilder().createMarkDependence(
2899
114
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()),
2900
114
                getOpValue(Inst->getBase()),
2901
114
                getBuilder().hasOwnership()
2902
114
                    ? Inst->getForwardingOwnershipKind()
2903
114
                    : ValueOwnershipKind(OwnershipKind::None)));
2904
114
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Line
Count
Source
2895
212
void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) {
2896
212
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2897
212
  recordClonedInstruction(
2898
212
      Inst, getBuilder().createMarkDependence(
2899
212
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()),
2900
212
                getOpValue(Inst->getBase()),
2901
212
                getBuilder().hasOwnership()
2902
212
                    ? Inst->getForwardingOwnershipKind()
2903
212
                    : ValueOwnershipKind(OwnershipKind::None)));
2904
212
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitMarkDependenceInstEPNS_18MarkDependenceInstE
Line
Count
Source
2895
1
void SILCloner<ImplClass>::visitMarkDependenceInst(MarkDependenceInst *Inst) {
2896
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2897
1
  recordClonedInstruction(
2898
1
      Inst, getBuilder().createMarkDependence(
2899
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getValue()),
2900
1
                getOpValue(Inst->getBase()),
2901
1
                getBuilder().hasOwnership()
2902
1
                    ? Inst->getForwardingOwnershipKind()
2903
1
                    : ValueOwnershipKind(OwnershipKind::None)));
2904
1
}
2905
2906
template<typename ImplClass>
2907
void
2908
8.96k
SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) {
2909
8.96k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2910
8.96k
  recordClonedInstruction(
2911
8.96k
      Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()),
2912
8.96k
                                             getOpValue(Inst->getOperand()),
2913
8.96k
                                             Inst->getAtomicity()));
2914
8.96k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Line
Count
Source
2908
353
SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) {
2909
353
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2910
353
  recordClonedInstruction(
2911
353
      Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()),
2912
353
                                             getOpValue(Inst->getOperand()),
2913
353
                                             Inst->getAtomicity()));
2914
353
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Line
Count
Source
2908
1
SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) {
2909
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2910
1
  recordClonedInstruction(
2911
1
      Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()),
2912
1
                                             getOpValue(Inst->getOperand()),
2913
1
                                             Inst->getAtomicity()));
2914
1
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Line
Count
Source
2908
300
SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) {
2909
300
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2910
300
  recordClonedInstruction(
2911
300
      Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()),
2912
300
                                             getOpValue(Inst->getOperand()),
2913
300
                                             Inst->getAtomicity()));
2914
300
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Line
Count
Source
2908
4
SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) {
2909
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2910
4
  recordClonedInstruction(
2911
4
      Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()),
2912
4
                                             getOpValue(Inst->getOperand()),
2913
4
                                             Inst->getAtomicity()));
2914
4
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Line
Count
Source
2908
157
SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) {
2909
157
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2910
157
  recordClonedInstruction(
2911
157
      Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()),
2912
157
                                             getOpValue(Inst->getOperand()),
2913
157
                                             Inst->getAtomicity()));
2914
157
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
_ZN5swift9SILClonerINS_13GenericClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Line
Count
Source
2908
3.87k
SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) {
2909
3.87k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2910
3.87k
  recordClonedInstruction(
2911
3.87k
      Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()),
2912
3.87k
                                             getOpValue(Inst->getOperand()),
2913
3.87k
                                             Inst->getAtomicity()));
2914
3.87k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Line
Count
Source
2908
4.26k
SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) {
2909
4.26k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2910
4.26k
  recordClonedInstruction(
2911
4.26k
      Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()),
2912
4.26k
                                             getOpValue(Inst->getOperand()),
2913
4.26k
                                             Inst->getAtomicity()));
2914
4.26k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitStrongReleaseInstEPNS_17StrongReleaseInstE
Line
Count
Source
2908
3
SILCloner<ImplClass>::visitStrongReleaseInst(StrongReleaseInst *Inst) {
2909
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2910
3
  recordClonedInstruction(
2911
3
      Inst, getBuilder().createStrongRelease(getOpLocation(Inst->getLoc()),
2912
3
                                             getOpValue(Inst->getOperand()),
2913
3
                                             Inst->getAtomicity()));
2914
3
}
2915
2916
template<typename ImplClass>
2917
1.38k
void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) {
2918
1.38k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2919
1.38k
  recordClonedInstruction(
2920
1.38k
      Inst, getBuilder().createIsUnique(getOpLocation(Inst->getLoc()),
2921
1.38k
                                        getOpValue(Inst->getOperand())));
2922
1.38k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitIsUniqueInstEPNS_12IsUniqueInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Line
Count
Source
2917
4
void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) {
2918
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2919
4
  recordClonedInstruction(
2920
4
      Inst, getBuilder().createIsUnique(getOpLocation(Inst->getLoc()),
2921
4
                                        getOpValue(Inst->getOperand())));
2922
4
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Line
Count
Source
2917
22
void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) {
2918
22
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2919
22
  recordClonedInstruction(
2920
22
      Inst, getBuilder().createIsUnique(getOpLocation(Inst->getLoc()),
2921
22
                                        getOpValue(Inst->getOperand())));
2922
22
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitIsUniqueInstEPNS_12IsUniqueInstE
_ZN5swift9SILClonerINS_13GenericClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Line
Count
Source
2917
1.09k
void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) {
2918
1.09k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2919
1.09k
  recordClonedInstruction(
2920
1.09k
      Inst, getBuilder().createIsUnique(getOpLocation(Inst->getLoc()),
2921
1.09k
                                        getOpValue(Inst->getOperand())));
2922
1.09k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
Line
Count
Source
2917
263
void SILCloner<ImplClass>::visitIsUniqueInst(IsUniqueInst *Inst) {
2918
263
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2919
263
  recordClonedInstruction(
2920
263
      Inst, getBuilder().createIsUnique(getOpLocation(Inst->getLoc()),
2921
263
                                        getOpValue(Inst->getOperand())));
2922
263
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitIsUniqueInstEPNS_12IsUniqueInstE
2923
template<typename ImplClass>
2924
1.45k
void SILCloner<ImplClass>::visitBeginCOWMutationInst(BeginCOWMutationInst *Inst) {
2925
1.45k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2926
1.45k
  recordClonedInstruction(
2927
1.45k
      Inst, getBuilder().createBeginCOWMutation(getOpLocation(Inst->getLoc()),
2928
1.45k
                            getOpValue(Inst->getOperand()), Inst->isNative()));
2929
1.45k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Line
Count
Source
2924
89
void SILCloner<ImplClass>::visitBeginCOWMutationInst(BeginCOWMutationInst *Inst) {
2925
89
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2926
89
  recordClonedInstruction(
2927
89
      Inst, getBuilder().createBeginCOWMutation(getOpLocation(Inst->getLoc()),
2928
89
                            getOpValue(Inst->getOperand()), Inst->isNative()));
2929
89
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Line
Count
Source
2924
1
void SILCloner<ImplClass>::visitBeginCOWMutationInst(BeginCOWMutationInst *Inst) {
2925
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2926
1
  recordClonedInstruction(
2927
1
      Inst, getBuilder().createBeginCOWMutation(getOpLocation(Inst->getLoc()),
2928
1
                            getOpValue(Inst->getOperand()), Inst->isNative()));
2929
1
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
_ZN5swift9SILClonerINS_13GenericClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Line
Count
Source
2924
632
void SILCloner<ImplClass>::visitBeginCOWMutationInst(BeginCOWMutationInst *Inst) {
2925
632
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2926
632
  recordClonedInstruction(
2927
632
      Inst, getBuilder().createBeginCOWMutation(getOpLocation(Inst->getLoc()),
2928
632
                            getOpValue(Inst->getOperand()), Inst->isNative()));
2929
632
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
Line
Count
Source
2924
731
void SILCloner<ImplClass>::visitBeginCOWMutationInst(BeginCOWMutationInst *Inst) {
2925
731
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2926
731
  recordClonedInstruction(
2927
731
      Inst, getBuilder().createBeginCOWMutation(getOpLocation(Inst->getLoc()),
2928
731
                            getOpValue(Inst->getOperand()), Inst->isNative()));
2929
731
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE25visitBeginCOWMutationInstEPNS_20BeginCOWMutationInstE
2930
template<typename ImplClass>
2931
1.77k
void SILCloner<ImplClass>::visitEndCOWMutationInst(EndCOWMutationInst *Inst) {
2932
1.77k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2933
1.77k
  recordClonedInstruction(
2934
1.77k
      Inst, getBuilder().createEndCOWMutation(getOpLocation(Inst->getLoc()),
2935
1.77k
                        getOpValue(Inst->getOperand()), Inst->doKeepUnique()));
2936
1.77k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Line
Count
Source
2931
83
void SILCloner<ImplClass>::visitEndCOWMutationInst(EndCOWMutationInst *Inst) {
2932
83
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2933
83
  recordClonedInstruction(
2934
83
      Inst, getBuilder().createEndCOWMutation(getOpLocation(Inst->getLoc()),
2935
83
                        getOpValue(Inst->getOperand()), Inst->doKeepUnique()));
2936
83
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Line
Count
Source
2931
1
void SILCloner<ImplClass>::visitEndCOWMutationInst(EndCOWMutationInst *Inst) {
2932
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2933
1
  recordClonedInstruction(
2934
1
      Inst, getBuilder().createEndCOWMutation(getOpLocation(Inst->getLoc()),
2935
1
                        getOpValue(Inst->getOperand()), Inst->doKeepUnique()));
2936
1
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
_ZN5swift9SILClonerINS_13GenericClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Line
Count
Source
2931
387
void SILCloner<ImplClass>::visitEndCOWMutationInst(EndCOWMutationInst *Inst) {
2932
387
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2933
387
  recordClonedInstruction(
2934
387
      Inst, getBuilder().createEndCOWMutation(getOpLocation(Inst->getLoc()),
2935
387
                        getOpValue(Inst->getOperand()), Inst->doKeepUnique()));
2936
387
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
Line
Count
Source
2931
1.30k
void SILCloner<ImplClass>::visitEndCOWMutationInst(EndCOWMutationInst *Inst) {
2932
1.30k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2933
1.30k
  recordClonedInstruction(
2934
1.30k
      Inst, getBuilder().createEndCOWMutation(getOpLocation(Inst->getLoc()),
2935
1.30k
                        getOpValue(Inst->getOperand()), Inst->doKeepUnique()));
2936
1.30k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitEndCOWMutationInstEPNS_18EndCOWMutationInstE
2937
template <typename ImplClass>
2938
void SILCloner<ImplClass>::visitIsEscapingClosureInst(
2939
1
    IsEscapingClosureInst *Inst) {
2940
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2941
1
  recordClonedInstruction(
2942
1
      Inst, getBuilder().createIsEscapingClosure(getOpLocation(Inst->getLoc()),
2943
1
                                                 getOpValue(Inst->getOperand()),
2944
1
                                                 Inst->getVerificationType()));
2945
1
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
Line
Count
Source
2939
1
    IsEscapingClosureInst *Inst) {
2940
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2941
1
  recordClonedInstruction(
2942
1
      Inst, getBuilder().createIsEscapingClosure(getOpLocation(Inst->getLoc()),
2943
1
                                                 getOpValue(Inst->getOperand()),
2944
1
                                                 Inst->getVerificationType()));
2945
1
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitIsEscapingClosureInstEPNS_21IsEscapingClosureInstE
2946
2947
template<typename ImplClass>
2948
void
2949
101k
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
101k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
101k
  recordClonedInstruction(
2952
101k
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
101k
                                            getOpValue(Inst->getOperand())));
2954
101k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
312
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
312
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
312
  recordClonedInstruction(
2952
312
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
312
                                            getOpValue(Inst->getOperand())));
2954
312
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
1.71k
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
1.71k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
1.71k
  recordClonedInstruction(
2952
1.71k
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
1.71k
                                            getOpValue(Inst->getOperand())));
2954
1.71k
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
857
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
857
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
857
  recordClonedInstruction(
2952
857
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
857
                                            getOpValue(Inst->getOperand())));
2954
857
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
133
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
133
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
133
  recordClonedInstruction(
2952
133
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
133
                                            getOpValue(Inst->getOperand())));
2954
133
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
1.25k
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
1.25k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
1.25k
  recordClonedInstruction(
2952
1.25k
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
1.25k
                                            getOpValue(Inst->getOperand())));
2954
1.25k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
28
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
28
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
28
  recordClonedInstruction(
2952
28
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
28
                                            getOpValue(Inst->getOperand())));
2954
28
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
52
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
52
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
52
  recordClonedInstruction(
2952
52
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
52
                                            getOpValue(Inst->getOperand())));
2954
52
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
52
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
52
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
52
  recordClonedInstruction(
2952
52
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
52
                                            getOpValue(Inst->getOperand())));
2954
52
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
895
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
895
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
895
  recordClonedInstruction(
2952
895
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
895
                                            getOpValue(Inst->getOperand())));
2954
895
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
63
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
63
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
63
  recordClonedInstruction(
2952
63
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
63
                                            getOpValue(Inst->getOperand())));
2954
63
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitDeallocStackInstEPNS_16DeallocStackInstE
_ZN5swift9SILClonerINS_13GenericClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
44.5k
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
44.5k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
44.5k
  recordClonedInstruction(
2952
44.5k
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
44.5k
                                            getOpValue(Inst->getOperand())));
2954
44.5k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
Line
Count
Source
2949
51.3k
SILCloner<ImplClass>::visitDeallocStackInst(DeallocStackInst *Inst) {
2950
51.3k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2951
51.3k
  recordClonedInstruction(
2952
51.3k
      Inst, getBuilder().createDeallocStack(getOpLocation(Inst->getLoc()),
2953
51.3k
                                            getOpValue(Inst->getOperand())));
2954
51.3k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitDeallocStackInstEPNS_16DeallocStackInstE
2955
2956
template<typename ImplClass>
2957
void
2958
0
SILCloner<ImplClass>::visitDeallocPackInst(DeallocPackInst *Inst) {
2959
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2960
0
  recordClonedInstruction(
2961
0
      Inst, getBuilder().createDeallocPack(getOpLocation(Inst->getLoc()),
2962
0
                                           getOpValue(Inst->getOperand())));
2963
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitDeallocPackInstEPNS_15DeallocPackInstE
2964
2965
template <typename ImplClass>
2966
void SILCloner<ImplClass>::visitDeallocPackMetadataInst(
2967
0
    DeallocPackMetadataInst *Inst) {
2968
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2969
0
  recordClonedInstruction(
2970
0
      Inst, getBuilder().createDeallocPackMetadata(
2971
0
                getOpLocation(Inst->getLoc()), Inst->getOperand()));
2972
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitDeallocPackMetadataInstEPNS_23DeallocPackMetadataInstE
2973
2974
template<typename ImplClass>
2975
void
2976
94
SILCloner<ImplClass>::visitDeallocRefInst(DeallocRefInst *Inst) {
2977
94
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2978
94
  recordClonedInstruction(
2979
94
      Inst, getBuilder().createDeallocRef(getOpLocation(Inst->getLoc()),
2980
94
                                          getOpValue(Inst->getOperand())));
2981
94
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Line
Count
Source
2976
2
SILCloner<ImplClass>::visitDeallocRefInst(DeallocRefInst *Inst) {
2977
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2978
2
  recordClonedInstruction(
2979
2
      Inst, getBuilder().createDeallocRef(getOpLocation(Inst->getLoc()),
2980
2
                                          getOpValue(Inst->getOperand())));
2981
2
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitDeallocRefInstEPNS_14DeallocRefInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Line
Count
Source
2976
12
SILCloner<ImplClass>::visitDeallocRefInst(DeallocRefInst *Inst) {
2977
12
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2978
12
  recordClonedInstruction(
2979
12
      Inst, getBuilder().createDeallocRef(getOpLocation(Inst->getLoc()),
2980
12
                                          getOpValue(Inst->getOperand())));
2981
12
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
Line
Count
Source
2976
80
SILCloner<ImplClass>::visitDeallocRefInst(DeallocRefInst *Inst) {
2977
80
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2978
80
  recordClonedInstruction(
2979
80
      Inst, getBuilder().createDeallocRef(getOpLocation(Inst->getLoc()),
2980
80
                                          getOpValue(Inst->getOperand())));
2981
80
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitDeallocRefInstEPNS_14DeallocRefInstE
2982
2983
template<typename ImplClass>
2984
void
2985
0
SILCloner<ImplClass>::visitDeallocStackRefInst(DeallocStackRefInst *Inst) {
2986
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2987
0
  recordClonedInstruction(
2988
0
      Inst, getBuilder().createDeallocStackRef(getOpLocation(Inst->getLoc()),
2989
0
                                          getOpValue(Inst->getOperand())));
2990
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitDeallocStackRefInstEPNS_19DeallocStackRefInstE
2991
2992
template<typename ImplClass>
2993
void
2994
0
SILCloner<ImplClass>::visitDeallocPartialRefInst(DeallocPartialRefInst *Inst) {
2995
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
2996
0
  recordClonedInstruction(Inst, getBuilder().createDeallocPartialRef(
2997
0
                                    getOpLocation(Inst->getLoc()),
2998
0
                                    getOpValue(Inst->getInstance()),
2999
0
                                    getOpValue(Inst->getMetatype())));
3000
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitDeallocPartialRefInstEPNS_21DeallocPartialRefInstE
3001
3002
template<typename ImplClass>
3003
void
3004
0
SILCloner<ImplClass>::visitDeallocBoxInst(DeallocBoxInst *Inst) {
3005
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3006
0
  recordClonedInstruction(
3007
0
      Inst, getBuilder().createDeallocBox(getOpLocation(Inst->getLoc()),
3008
0
                                          getOpValue(Inst->getOperand())));
3009
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitDeallocBoxInstEPNS_14DeallocBoxInstE
3010
3011
template<typename ImplClass>
3012
void
3013
SILCloner<ImplClass>::visitDeallocExistentialBoxInst(
3014
0
                                              DeallocExistentialBoxInst *Inst) {
3015
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3016
0
  recordClonedInstruction(Inst, getBuilder().createDeallocExistentialBox(
3017
0
                                    getOpLocation(Inst->getLoc()),
3018
0
                                    getOpASTType(Inst->getConcreteType()),
3019
0
                                    getOpValue(Inst->getOperand())));
3020
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitDeallocExistentialBoxInstEPNS_25DeallocExistentialBoxInstE
3021
3022
template<typename ImplClass>
3023
void
3024
43.0k
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
43.0k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
43.0k
  recordClonedInstruction(
3027
43.0k
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
43.0k
                                           getOpValue(Inst->getOperand())));
3029
43.0k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
44
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
44
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
44
  recordClonedInstruction(
3027
44
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
44
                                           getOpValue(Inst->getOperand())));
3029
44
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
509
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
509
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
509
  recordClonedInstruction(
3027
509
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
509
                                           getOpValue(Inst->getOperand())));
3029
509
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
3
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
3
  recordClonedInstruction(
3027
3
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
3
                                           getOpValue(Inst->getOperand())));
3029
3
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
53
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
53
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
53
  recordClonedInstruction(
3027
53
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
53
                                           getOpValue(Inst->getOperand())));
3029
53
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
20
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
20
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
20
  recordClonedInstruction(
3027
20
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
20
                                           getOpValue(Inst->getOperand())));
3029
20
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
1
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
1
  recordClonedInstruction(
3027
1
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
1
                                           getOpValue(Inst->getOperand())));
3029
1
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
26
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
26
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
26
  recordClonedInstruction(
3027
26
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
26
                                           getOpValue(Inst->getOperand())));
3029
26
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
32
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
32
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
32
  recordClonedInstruction(
3027
32
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
32
                                           getOpValue(Inst->getOperand())));
3029
32
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
23
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
23
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
23
  recordClonedInstruction(
3027
23
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
23
                                           getOpValue(Inst->getOperand())));
3029
23
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
20.3k
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
20.3k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
20.3k
  recordClonedInstruction(
3027
20.3k
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
20.3k
                                           getOpValue(Inst->getOperand())));
3029
20.3k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
21.9k
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
21.9k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
21.9k
  recordClonedInstruction(
3027
21.9k
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
21.9k
                                           getOpValue(Inst->getOperand())));
3029
21.9k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitDestroyAddrInstEPNS_15DestroyAddrInstE
Line
Count
Source
3024
1
SILCloner<ImplClass>::visitDestroyAddrInst(DestroyAddrInst *Inst) {
3025
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3026
1
  recordClonedInstruction(
3027
1
      Inst, getBuilder().createDestroyAddr(getOpLocation(Inst->getLoc()),
3028
1
                                           getOpValue(Inst->getOperand())));
3029
1
}
3030
3031
template<typename ImplClass>
3032
125
void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) {
3033
125
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3034
125
  recordClonedInstruction(
3035
125
      Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()),
3036
125
                                          getOpValue(Inst->getOperand()),
3037
125
                                          Inst->getFieldIndex()));
3038
125
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Line
Count
Source
3032
2
void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) {
3033
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3034
2
  recordClonedInstruction(
3035
2
      Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()),
3036
2
                                          getOpValue(Inst->getOperand()),
3037
2
                                          Inst->getFieldIndex()));
3038
2
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Line
Count
Source
3032
8
void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) {
3033
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3034
8
  recordClonedInstruction(
3035
8
      Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()),
3036
8
                                          getOpValue(Inst->getOperand()),
3037
8
                                          Inst->getFieldIndex()));
3038
8
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Line
Count
Source
3032
10
void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) {
3033
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3034
10
  recordClonedInstruction(
3035
10
      Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()),
3036
10
                                          getOpValue(Inst->getOperand()),
3037
10
                                          Inst->getFieldIndex()));
3038
10
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Line
Count
Source
3032
35
void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) {
3033
35
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3034
35
  recordClonedInstruction(
3035
35
      Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()),
3036
35
                                          getOpValue(Inst->getOperand()),
3037
35
                                          Inst->getFieldIndex()));
3038
35
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
Line
Count
Source
3032
70
void SILCloner<ImplClass>::visitProjectBoxInst(ProjectBoxInst *Inst) {
3033
70
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3034
70
  recordClonedInstruction(
3035
70
      Inst, getBuilder().createProjectBox(getOpLocation(Inst->getLoc()),
3036
70
                                          getOpValue(Inst->getOperand()),
3037
70
                                          Inst->getFieldIndex()));
3038
70
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitProjectBoxInstEPNS_14ProjectBoxInstE
3039
3040
template<typename ImplClass>
3041
void SILCloner<ImplClass>::visitProjectExistentialBoxInst(
3042
28
                                            ProjectExistentialBoxInst *Inst) {
3043
28
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3044
28
  recordClonedInstruction(Inst, getBuilder().createProjectExistentialBox(
3045
28
                                    getOpLocation(Inst->getLoc()),
3046
28
                                    getOpType(Inst->getType()),
3047
28
                                    getOpValue(Inst->getOperand())));
3048
28
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Line
Count
Source
3042
1
                                            ProjectExistentialBoxInst *Inst) {
3043
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3044
1
  recordClonedInstruction(Inst, getBuilder().createProjectExistentialBox(
3045
1
                                    getOpLocation(Inst->getLoc()),
3046
1
                                    getOpType(Inst->getType()),
3047
1
                                    getOpValue(Inst->getOperand())));
3048
1
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
_ZN5swift9SILClonerINS_13GenericClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Line
Count
Source
3042
10
                                            ProjectExistentialBoxInst *Inst) {
3043
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3044
10
  recordClonedInstruction(Inst, getBuilder().createProjectExistentialBox(
3045
10
                                    getOpLocation(Inst->getLoc()),
3046
10
                                    getOpType(Inst->getType()),
3047
10
                                    getOpValue(Inst->getOperand())));
3048
10
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
Line
Count
Source
3042
17
                                            ProjectExistentialBoxInst *Inst) {
3043
17
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3044
17
  recordClonedInstruction(Inst, getBuilder().createProjectExistentialBox(
3045
17
                                    getOpLocation(Inst->getLoc()),
3046
17
                                    getOpType(Inst->getType()),
3047
17
                                    getOpValue(Inst->getOperand())));
3048
17
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitProjectExistentialBoxInstEPNS_25ProjectExistentialBoxInstE
3049
3050
template<typename ImplClass>
3051
void
3052
94.4k
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
94.4k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
94.4k
  recordClonedInstruction(
3055
94.4k
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
94.4k
                                        getOpValue(Inst->getOperand()),
3057
94.4k
                                        Inst->getMessage()));
3058
94.4k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitCondFailInstEPNS_12CondFailInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitCondFailInstEPNS_12CondFailInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitCondFailInstEPNS_12CondFailInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitCondFailInstEPNS_12CondFailInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitCondFailInstEPNS_12CondFailInstE
Line
Count
Source
3052
158
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
158
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
158
  recordClonedInstruction(
3055
158
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
158
                                        getOpValue(Inst->getOperand()),
3057
158
                                        Inst->getMessage()));
3058
158
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitCondFailInstEPNS_12CondFailInstE
Line
Count
Source
3052
1
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
1
  recordClonedInstruction(
3055
1
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
1
                                        getOpValue(Inst->getOperand()),
3057
1
                                        Inst->getMessage()));
3058
1
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitCondFailInstEPNS_12CondFailInstE
Line
Count
Source
3052
997
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
997
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
997
  recordClonedInstruction(
3055
997
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
997
                                        getOpValue(Inst->getOperand()),
3057
997
                                        Inst->getMessage()));
3058
997
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitCondFailInstEPNS_12CondFailInstE
Line
Count
Source
3052
3
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
3
  recordClonedInstruction(
3055
3
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
3
                                        getOpValue(Inst->getOperand()),
3057
3
                                        Inst->getMessage()));
3058
3
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitCondFailInstEPNS_12CondFailInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitCondFailInstEPNS_12CondFailInstE
Line
Count
Source
3052
20
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
20
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
20
  recordClonedInstruction(
3055
20
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
20
                                        getOpValue(Inst->getOperand()),
3057
20
                                        Inst->getMessage()));
3058
20
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitCondFailInstEPNS_12CondFailInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitCondFailInstEPNS_12CondFailInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitCondFailInstEPNS_12CondFailInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitCondFailInstEPNS_12CondFailInstE
Line
Count
Source
3052
20
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
20
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
20
  recordClonedInstruction(
3055
20
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
20
                                        getOpValue(Inst->getOperand()),
3057
20
                                        Inst->getMessage()));
3058
20
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitCondFailInstEPNS_12CondFailInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitCondFailInstEPNS_12CondFailInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitCondFailInstEPNS_12CondFailInstE
Line
Count
Source
3052
2
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
2
  recordClonedInstruction(
3055
2
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
2
                                        getOpValue(Inst->getOperand()),
3057
2
                                        Inst->getMessage()));
3058
2
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitCondFailInstEPNS_12CondFailInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitCondFailInstEPNS_12CondFailInstE
_ZN5swift9SILClonerINS_13GenericClonerEE17visitCondFailInstEPNS_12CondFailInstE
Line
Count
Source
3052
12.7k
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
12.7k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
12.7k
  recordClonedInstruction(
3055
12.7k
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
12.7k
                                        getOpValue(Inst->getOperand()),
3057
12.7k
                                        Inst->getMessage()));
3058
12.7k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE17visitCondFailInstEPNS_12CondFailInstE
Line
Count
Source
3052
80.0k
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
80.0k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
80.0k
  recordClonedInstruction(
3055
80.0k
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
80.0k
                                        getOpValue(Inst->getOperand()),
3057
80.0k
                                        Inst->getMessage()));
3058
80.0k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitCondFailInstEPNS_12CondFailInstE
Line
Count
Source
3052
422
SILCloner<ImplClass>::visitCondFailInst(CondFailInst *Inst) {
3053
422
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3054
422
  recordClonedInstruction(
3055
422
      Inst, getBuilder().createCondFail(getOpLocation(Inst->getLoc()),
3056
422
                                        getOpValue(Inst->getOperand()),
3057
422
                                        Inst->getMessage()));
3058
422
}
3059
3060
template <typename ImplClass>
3061
void SILCloner<ImplClass>::visitIncrementProfilerCounterInst(
3062
0
    IncrementProfilerCounterInst *Inst) {
3063
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3064
0
  recordClonedInstruction(Inst,
3065
0
                          getBuilder().createIncrementProfilerCounter(
3066
0
                              getOpLocation(Inst->getLoc()),
3067
0
                              Inst->getCounterIndex(), Inst->getPGOFuncName(),
3068
0
                              Inst->getNumCounters(), Inst->getPGOFuncHash()));
3069
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE33visitIncrementProfilerCounterInstEPNS_28IncrementProfilerCounterInstE
3070
3071
template <typename ImplClass>
3072
void SILCloner<ImplClass>::visitTestSpecificationInst(
3073
0
    TestSpecificationInst *Inst) {
3074
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3075
0
  recordClonedInstruction(Inst, getBuilder().createTestSpecificationInst(
3076
0
                                    getOpLocation(Inst->getLoc()),
3077
0
                                    Inst->getArgumentsSpecification()));
3078
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitTestSpecificationInstEPNS_21TestSpecificationInstE
3079
3080
template<typename ImplClass>
3081
void
3082
37.9k
SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) {
3083
37.9k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3084
37.9k
  recordClonedInstruction(
3085
37.9k
      Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()),
3086
37.9k
                                         getOpValue(Inst->getBase()),
3087
37.9k
                                         getOpValue(Inst->getIndex()),
3088
37.9k
                                         Inst->needsStackProtection()));
3089
37.9k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitIndexAddrInstEPNS_13IndexAddrInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Line
Count
Source
3082
31
SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) {
3083
31
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3084
31
  recordClonedInstruction(
3085
31
      Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()),
3086
31
                                         getOpValue(Inst->getBase()),
3087
31
                                         getOpValue(Inst->getIndex()),
3088
31
                                         Inst->needsStackProtection()));
3089
31
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Line
Count
Source
3082
22
SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) {
3083
22
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3084
22
  recordClonedInstruction(
3085
22
      Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()),
3086
22
                                         getOpValue(Inst->getBase()),
3087
22
                                         getOpValue(Inst->getIndex()),
3088
22
                                         Inst->needsStackProtection()));
3089
22
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Line
Count
Source
3082
538
SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) {
3083
538
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3084
538
  recordClonedInstruction(
3085
538
      Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()),
3086
538
                                         getOpValue(Inst->getBase()),
3087
538
                                         getOpValue(Inst->getIndex()),
3088
538
                                         Inst->needsStackProtection()));
3089
538
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Line
Count
Source
3082
2.59k
SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) {
3083
2.59k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3084
2.59k
  recordClonedInstruction(
3085
2.59k
      Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()),
3086
2.59k
                                         getOpValue(Inst->getBase()),
3087
2.59k
                                         getOpValue(Inst->getIndex()),
3088
2.59k
                                         Inst->needsStackProtection()));
3089
2.59k
}
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Line
Count
Source
3082
6
SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) {
3083
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3084
6
  recordClonedInstruction(
3085
6
      Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()),
3086
6
                                         getOpValue(Inst->getBase()),
3087
6
                                         getOpValue(Inst->getIndex()),
3088
6
                                         Inst->needsStackProtection()));
3089
6
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitIndexAddrInstEPNS_13IndexAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Line
Count
Source
3082
4.44k
SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) {
3083
4.44k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3084
4.44k
  recordClonedInstruction(
3085
4.44k
      Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()),
3086
4.44k
                                         getOpValue(Inst->getBase()),
3087
4.44k
                                         getOpValue(Inst->getIndex()),
3088
4.44k
                                         Inst->needsStackProtection()));
3089
4.44k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Line
Count
Source
3082
29.9k
SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) {
3083
29.9k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3084
29.9k
  recordClonedInstruction(
3085
29.9k
      Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()),
3086
29.9k
                                         getOpValue(Inst->getBase()),
3087
29.9k
                                         getOpValue(Inst->getIndex()),
3088
29.9k
                                         Inst->needsStackProtection()));
3089
29.9k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitIndexAddrInstEPNS_13IndexAddrInstE
Line
Count
Source
3082
294
SILCloner<ImplClass>::visitIndexAddrInst(IndexAddrInst *Inst) {
3083
294
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3084
294
  recordClonedInstruction(
3085
294
      Inst, getBuilder().createIndexAddr(getOpLocation(Inst->getLoc()),
3086
294
                                         getOpValue(Inst->getBase()),
3087
294
                                         getOpValue(Inst->getIndex()),
3088
294
                                         Inst->needsStackProtection()));
3089
294
}
3090
3091
template<typename ImplClass>
3092
void
3093
0
SILCloner<ImplClass>::visitTailAddrInst(TailAddrInst *Inst) {
3094
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3095
0
  recordClonedInstruction(
3096
0
      Inst, getBuilder().createTailAddr(
3097
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getBase()),
3098
0
                getOpValue(Inst->getIndex()), getOpType(Inst->getType())));
3099
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE17visitTailAddrInstEPNS_12TailAddrInstE
3100
3101
template<typename ImplClass>
3102
void
3103
1.06k
SILCloner<ImplClass>::visitIndexRawPointerInst(IndexRawPointerInst *Inst) {
3104
1.06k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3105
1.06k
  recordClonedInstruction(
3106
1.06k
      Inst, getBuilder().createIndexRawPointer(getOpLocation(Inst->getLoc()),
3107
1.06k
                                               getOpValue(Inst->getBase()),
3108
1.06k
                                               getOpValue(Inst->getIndex())));
3109
1.06k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
_ZN5swift9SILClonerINS_13GenericClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Line
Count
Source
3103
473
SILCloner<ImplClass>::visitIndexRawPointerInst(IndexRawPointerInst *Inst) {
3104
473
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3105
473
  recordClonedInstruction(
3106
473
      Inst, getBuilder().createIndexRawPointer(getOpLocation(Inst->getLoc()),
3107
473
                                               getOpValue(Inst->getBase()),
3108
473
                                               getOpValue(Inst->getIndex())));
3109
473
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Line
Count
Source
3103
577
SILCloner<ImplClass>::visitIndexRawPointerInst(IndexRawPointerInst *Inst) {
3104
577
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3105
577
  recordClonedInstruction(
3106
577
      Inst, getBuilder().createIndexRawPointer(getOpLocation(Inst->getLoc()),
3107
577
                                               getOpValue(Inst->getBase()),
3108
577
                                               getOpValue(Inst->getIndex())));
3109
577
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitIndexRawPointerInstEPNS_19IndexRawPointerInstE
Line
Count
Source
3103
16
SILCloner<ImplClass>::visitIndexRawPointerInst(IndexRawPointerInst *Inst) {
3104
16
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3105
16
  recordClonedInstruction(
3106
16
      Inst, getBuilder().createIndexRawPointer(getOpLocation(Inst->getLoc()),
3107
16
                                               getOpValue(Inst->getBase()),
3108
16
                                               getOpValue(Inst->getIndex())));
3109
16
}
3110
3111
template<typename ImplClass>
3112
void
3113
147k
SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) {
3114
147k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3115
147k
  recordClonedInstruction(
3116
147k
      Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc())));
3117
147k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitUnreachableInstEPNS_15UnreachableInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitUnreachableInstEPNS_15UnreachableInstE
Line
Count
Source
3113
16
SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) {
3114
16
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3115
16
  recordClonedInstruction(
3116
16
      Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc())));
3117
16
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Line
Count
Source
3113
152
SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) {
3114
152
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3115
152
  recordClonedInstruction(
3116
152
      Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc())));
3117
152
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Line
Count
Source
3113
9
SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) {
3114
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3115
9
  recordClonedInstruction(
3116
9
      Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc())));
3117
9
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Line
Count
Source
3113
1.51k
SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) {
3114
1.51k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3115
1.51k
  recordClonedInstruction(
3116
1.51k
      Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc())));
3117
1.51k
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitUnreachableInstEPNS_15UnreachableInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Line
Count
Source
3113
4
SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) {
3114
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3115
4
  recordClonedInstruction(
3116
4
      Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc())));
3117
4
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitUnreachableInstEPNS_15UnreachableInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Line
Count
Source
3113
5
SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) {
3114
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3115
5
  recordClonedInstruction(
3116
5
      Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc())));
3117
5
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitUnreachableInstEPNS_15UnreachableInstE
_ZN5swift9SILClonerINS_13GenericClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Line
Count
Source
3113
36.1k
SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) {
3114
36.1k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3115
36.1k
  recordClonedInstruction(
3116
36.1k
      Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc())));
3117
36.1k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
Line
Count
Source
3113
109k
SILCloner<ImplClass>::visitUnreachableInst(UnreachableInst *Inst) {
3114
109k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3115
109k
  recordClonedInstruction(
3116
109k
      Inst, getBuilder().createUnreachable(getOpLocation(Inst->getLoc())));
3117
109k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitUnreachableInstEPNS_15UnreachableInstE
3118
3119
template<typename ImplClass>
3120
void
3121
21.8k
SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) {
3122
21.8k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3123
21.8k
  recordClonedInstruction(
3124
21.8k
      Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()),
3125
21.8k
                                      getOpValue(Inst->getOperand())));
3126
21.8k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitReturnInstEPNS_10ReturnInstE
_ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitReturnInstEPNS_10ReturnInstE
Line
Count
Source
3121
1
SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) {
3122
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3123
1
  recordClonedInstruction(
3124
1
      Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()),
3125
1
                                      getOpValue(Inst->getOperand())));
3126
1
}
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitReturnInstEPNS_10ReturnInstE
Line
Count
Source
3121
155
SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) {
3122
155
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3123
155
  recordClonedInstruction(
3124
155
      Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()),
3125
155
                                      getOpValue(Inst->getOperand())));
3126
155
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitReturnInstEPNS_10ReturnInstE
Line
Count
Source
3121
128
SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) {
3122
128
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3123
128
  recordClonedInstruction(
3124
128
      Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()),
3125
128
                                      getOpValue(Inst->getOperand())));
3126
128
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitReturnInstEPNS_10ReturnInstE
Line
Count
Source
3121
249
SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) {
3122
249
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3123
249
  recordClonedInstruction(
3124
249
      Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()),
3125
249
                                      getOpValue(Inst->getOperand())));
3126
249
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitReturnInstEPNS_10ReturnInstE
Line
Count
Source
3121
32
SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) {
3122
32
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3123
32
  recordClonedInstruction(
3124
32
      Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()),
3125
32
                                      getOpValue(Inst->getOperand())));
3126
32
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitReturnInstEPNS_10ReturnInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitReturnInstEPNS_10ReturnInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitReturnInstEPNS_10ReturnInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitReturnInstEPNS_10ReturnInstE
Line
Count
Source
3121
8
SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) {
3122
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3123
8
  recordClonedInstruction(
3124
8
      Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()),
3125
8
                                      getOpValue(Inst->getOperand())));
3126
8
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitReturnInstEPNS_10ReturnInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitReturnInstEPNS_10ReturnInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitReturnInstEPNS_10ReturnInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitReturnInstEPNS_10ReturnInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitReturnInstEPNS_10ReturnInstE
Line
Count
Source
3121
5
SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) {
3122
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3123
5
  recordClonedInstruction(
3124
5
      Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()),
3125
5
                                      getOpValue(Inst->getOperand())));
3126
5
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitReturnInstEPNS_10ReturnInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitReturnInstEPNS_10ReturnInstE
_ZN5swift9SILClonerINS_13GenericClonerEE15visitReturnInstEPNS_10ReturnInstE
Line
Count
Source
3121
21.2k
SILCloner<ImplClass>::visitReturnInst(ReturnInst *Inst) {
3122
21.2k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3123
21.2k
  recordClonedInstruction(
3124
21.2k
      Inst, getBuilder().createReturn(getOpLocation(Inst->getLoc()),
3125
21.2k
                                      getOpValue(Inst->getOperand())));
3126
21.2k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE15visitReturnInstEPNS_10ReturnInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitReturnInstEPNS_10ReturnInstE
3127
3128
template<typename ImplClass>
3129
void
3130
1.46k
SILCloner<ImplClass>::visitThrowInst(ThrowInst *Inst) {
3131
1.46k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3132
1.46k
  recordClonedInstruction(
3133
1.46k
      Inst, getBuilder().createThrow(getOpLocation(Inst->getLoc()),
3134
1.46k
                                     getOpValue(Inst->getOperand())));
3135
1.46k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE14visitThrowInstEPNS_9ThrowInstE
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE14visitThrowInstEPNS_9ThrowInstE
Line
Count
Source
3130
1
SILCloner<ImplClass>::visitThrowInst(ThrowInst *Inst) {
3131
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3132
1
  recordClonedInstruction(
3133
1
      Inst, getBuilder().createThrow(getOpLocation(Inst->getLoc()),
3134
1
                                     getOpValue(Inst->getOperand())));
3135
1
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE14visitThrowInstEPNS_9ThrowInstE
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE14visitThrowInstEPNS_9ThrowInstE
Line
Count
Source
3130
3
SILCloner<ImplClass>::visitThrowInst(ThrowInst *Inst) {
3131
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3132
3
  recordClonedInstruction(
3133
3
      Inst, getBuilder().createThrow(getOpLocation(Inst->getLoc()),
3134
3
                                     getOpValue(Inst->getOperand())));
3135
3
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14visitThrowInstEPNS_9ThrowInstE
Line
Count
Source
3130
205
SILCloner<ImplClass>::visitThrowInst(ThrowInst *Inst) {
3131
205
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3132
205
  recordClonedInstruction(
3133
205
      Inst, getBuilder().createThrow(getOpLocation(Inst->getLoc()),
3134
205
                                     getOpValue(Inst->getOperand())));
3135
205
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14visitThrowInstEPNS_9ThrowInstE
_ZN5swift9SILClonerINS_13GenericClonerEE14visitThrowInstEPNS_9ThrowInstE
Line
Count
Source
3130
1.25k
SILCloner<ImplClass>::visitThrowInst(ThrowInst *Inst) {
3131
1.25k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3132
1.25k
  recordClonedInstruction(
3133
1.25k
      Inst, getBuilder().createThrow(getOpLocation(Inst->getLoc()),
3134
1.25k
                                     getOpValue(Inst->getOperand())));
3135
1.25k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE14visitThrowInstEPNS_9ThrowInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE14visitThrowInstEPNS_9ThrowInstE
3136
3137
template<typename ImplClass>
3138
void
3139
710
SILCloner<ImplClass>::visitUnwindInst(UnwindInst *Inst) {
3140
710
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3141
710
  recordClonedInstruction(
3142
710
      Inst, getBuilder().createUnwind(getOpLocation(Inst->getLoc())));
3143
710
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitUnwindInstEPNS_10UnwindInstE
_ZN5swift9SILClonerINS_13GenericClonerEE15visitUnwindInstEPNS_10UnwindInstE
Line
Count
Source
3139
710
SILCloner<ImplClass>::visitUnwindInst(UnwindInst *Inst) {
3140
710
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3141
710
  recordClonedInstruction(
3142
710
      Inst, getBuilder().createUnwind(getOpLocation(Inst->getLoc())));
3143
710
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE15visitUnwindInstEPNS_10UnwindInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitUnwindInstEPNS_10UnwindInstE
3144
3145
template<typename ImplClass>
3146
void
3147
711
SILCloner<ImplClass>::visitYieldInst(YieldInst *Inst) {
3148
711
  auto Values = getOpValueArray<8>(Inst->getYieldedValues());
3149
711
  auto ResumeBB = getOpBasicBlock(Inst->getResumeBB());
3150
711
  auto UnwindBB = getOpBasicBlock(Inst->getUnwindBB());
3151
3152
711
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3153
711
  recordClonedInstruction(
3154
711
      Inst, getBuilder().createYield(getOpLocation(Inst->getLoc()), Values,
3155
711
                                     ResumeBB, UnwindBB));
3156
711
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE14visitYieldInstEPNS_9YieldInstE
_ZN5swift9SILClonerINS_13GenericClonerEE14visitYieldInstEPNS_9YieldInstE
Line
Count
Source
3147
711
SILCloner<ImplClass>::visitYieldInst(YieldInst *Inst) {
3148
711
  auto Values = getOpValueArray<8>(Inst->getYieldedValues());
3149
711
  auto ResumeBB = getOpBasicBlock(Inst->getResumeBB());
3150
711
  auto UnwindBB = getOpBasicBlock(Inst->getUnwindBB());
3151
3152
711
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3153
711
  recordClonedInstruction(
3154
711
      Inst, getBuilder().createYield(getOpLocation(Inst->getLoc()), Values,
3155
711
                                     ResumeBB, UnwindBB));
3156
711
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE14visitYieldInstEPNS_9YieldInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE14visitYieldInstEPNS_9YieldInstE
3157
3158
template<typename ImplClass>
3159
void
3160
487k
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
487k
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
487k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
487k
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
487k
                                    getOpLocation(Inst->getLoc()),
3165
487k
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
487k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE15visitBranchInstEPNS_10BranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE15visitBranchInstEPNS_10BranchInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
2.09k
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
2.09k
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
2.09k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
2.09k
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
2.09k
                                    getOpLocation(Inst->getLoc()),
3165
2.09k
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
2.09k
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
22
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
22
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
22
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
22
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
22
                                    getOpLocation(Inst->getLoc()),
3165
22
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
22
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
4.53k
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
4.53k
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
4.53k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
4.53k
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
4.53k
                                    getOpLocation(Inst->getLoc()),
3165
4.53k
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
4.53k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
12
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
12
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
12
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
12
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
12
                                    getOpLocation(Inst->getLoc()),
3165
12
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
12
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE15visitBranchInstEPNS_10BranchInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
58
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
58
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
58
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
58
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
58
                                    getOpLocation(Inst->getLoc()),
3165
58
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
58
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
5.24k
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
5.24k
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
5.24k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
5.24k
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
5.24k
                                    getOpLocation(Inst->getLoc()),
3165
5.24k
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
5.24k
}
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
16
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
16
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
16
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
16
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
16
                                    getOpLocation(Inst->getLoc()),
3165
16
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
16
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE15visitBranchInstEPNS_10BranchInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
37.1k
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
37.1k
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
37.1k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
37.1k
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
37.1k
                                    getOpLocation(Inst->getLoc()),
3165
37.1k
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
37.1k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE15visitBranchInstEPNS_10BranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE15visitBranchInstEPNS_10BranchInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
23
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
23
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
23
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
23
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
23
                                    getOpLocation(Inst->getLoc()),
3165
23
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
23
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE15visitBranchInstEPNS_10BranchInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE15visitBranchInstEPNS_10BranchInstE
_ZN5swift9SILClonerINS_13GenericClonerEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
146k
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
146k
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
146k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
146k
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
146k
                                    getOpLocation(Inst->getLoc()),
3165
146k
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
146k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE15visitBranchInstEPNS_10BranchInstE
Line
Count
Source
3160
291k
SILCloner<ImplClass>::visitBranchInst(BranchInst *Inst) {
3161
291k
  auto Args = getOpValueArray<8>(Inst->getArgs());
3162
291k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3163
291k
  recordClonedInstruction(Inst, getBuilder().createBranch(
3164
291k
                                    getOpLocation(Inst->getLoc()),
3165
291k
                                    getOpBasicBlock(Inst->getDestBB()), Args));
3166
291k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE15visitBranchInstEPNS_10BranchInstE
3167
3168
template<typename ImplClass>
3169
void
3170
373k
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
373k
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
373k
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
373k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
373k
  recordClonedInstruction(
3175
373k
      Inst, getBuilder().createCondBranch(
3176
373k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
373k
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
373k
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
373k
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
373k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
964
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
964
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
964
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
964
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
964
  recordClonedInstruction(
3175
964
      Inst, getBuilder().createCondBranch(
3176
964
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
964
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
964
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
964
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
964
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
20
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
20
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
20
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
20
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
20
  recordClonedInstruction(
3175
20
      Inst, getBuilder().createCondBranch(
3176
20
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
20
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
20
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
20
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
20
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
3.61k
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
3.61k
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
3.61k
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
3.61k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
3.61k
  recordClonedInstruction(
3175
3.61k
      Inst, getBuilder().createCondBranch(
3176
3.61k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
3.61k
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
3.61k
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
3.61k
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
3.61k
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
5
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
5
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
5
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
5
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
5
  recordClonedInstruction(
3175
5
      Inst, getBuilder().createCondBranch(
3176
5
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
5
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
5
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
5
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
5
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
14
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
14
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
14
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
14
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
14
  recordClonedInstruction(
3175
14
      Inst, getBuilder().createCondBranch(
3176
14
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
14
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
14
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
14
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
14
}
LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
2.62k
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
2.62k
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
2.62k
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
2.62k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
2.62k
  recordClonedInstruction(
3175
2.62k
      Inst, getBuilder().createCondBranch(
3176
2.62k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
2.62k
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
2.62k
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
2.62k
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
2.62k
}
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
14.0k
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
14.0k
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
14.0k
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
14.0k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
14.0k
  recordClonedInstruction(
3175
14.0k
      Inst, getBuilder().createCondBranch(
3176
14.0k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
14.0k
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
14.0k
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
14.0k
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
14.0k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitCondBranchInstEPNS_14CondBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
10
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
10
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
10
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
10
  recordClonedInstruction(
3175
10
      Inst, getBuilder().createCondBranch(
3176
10
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
10
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
10
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
10
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
10
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitCondBranchInstEPNS_14CondBranchInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
106k
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
106k
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
106k
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
106k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
106k
  recordClonedInstruction(
3175
106k
      Inst, getBuilder().createCondBranch(
3176
106k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
106k
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
106k
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
106k
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
106k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
244k
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
244k
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
244k
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
244k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
244k
  recordClonedInstruction(
3175
244k
      Inst, getBuilder().createCondBranch(
3176
244k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
244k
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
244k
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
244k
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
244k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitCondBranchInstEPNS_14CondBranchInstE
Line
Count
Source
3170
1.18k
SILCloner<ImplClass>::visitCondBranchInst(CondBranchInst *Inst) {
3171
1.18k
  auto TrueArgs = getOpValueArray<8>(Inst->getTrueArgs());
3172
1.18k
  auto FalseArgs = getOpValueArray<8>(Inst->getFalseArgs());
3173
1.18k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3174
1.18k
  recordClonedInstruction(
3175
1.18k
      Inst, getBuilder().createCondBranch(
3176
1.18k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getCondition()),
3177
1.18k
                getOpBasicBlock(Inst->getTrueBB()), TrueArgs,
3178
1.18k
                getOpBasicBlock(Inst->getFalseBB()), FalseArgs,
3179
1.18k
                Inst->getTrueBBCount(), Inst->getFalseBBCount()));
3180
1.18k
}
3181
3182
template<typename ImplClass>
3183
void
3184
4.77k
SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) {
3185
4.77k
  SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB());
3186
4.77k
  SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB());
3187
4.77k
  auto TrueCount = Inst->getTrueBBCount();
3188
4.77k
  auto FalseCount = Inst->getFalseBBCount();
3189
4.77k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3190
4.77k
  recordClonedInstruction(
3191
4.77k
      Inst, getBuilder().createCheckedCastBranch(
3192
4.77k
                getOpLocation(Inst->getLoc()), Inst->isExact(),
3193
4.77k
                getOpValue(Inst->getOperand()),
3194
4.77k
                getOpASTType(Inst->getSourceFormalType()),
3195
4.77k
                getOpType(Inst->getTargetLoweredType()),
3196
4.77k
                getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB,
3197
4.77k
                Inst->getForwardingOwnershipKind(), TrueCount, FalseCount));
3198
4.77k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Line
Count
Source
3184
293
SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) {
3185
293
  SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB());
3186
293
  SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB());
3187
293
  auto TrueCount = Inst->getTrueBBCount();
3188
293
  auto FalseCount = Inst->getFalseBBCount();
3189
293
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3190
293
  recordClonedInstruction(
3191
293
      Inst, getBuilder().createCheckedCastBranch(
3192
293
                getOpLocation(Inst->getLoc()), Inst->isExact(),
3193
293
                getOpValue(Inst->getOperand()),
3194
293
                getOpASTType(Inst->getSourceFormalType()),
3195
293
                getOpType(Inst->getTargetLoweredType()),
3196
293
                getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB,
3197
293
                Inst->getForwardingOwnershipKind(), TrueCount, FalseCount));
3198
293
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Line
Count
Source
3184
10
SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) {
3185
10
  SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB());
3186
10
  SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB());
3187
10
  auto TrueCount = Inst->getTrueBBCount();
3188
10
  auto FalseCount = Inst->getFalseBBCount();
3189
10
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3190
10
  recordClonedInstruction(
3191
10
      Inst, getBuilder().createCheckedCastBranch(
3192
10
                getOpLocation(Inst->getLoc()), Inst->isExact(),
3193
10
                getOpValue(Inst->getOperand()),
3194
10
                getOpASTType(Inst->getSourceFormalType()),
3195
10
                getOpType(Inst->getTargetLoweredType()),
3196
10
                getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB,
3197
10
                Inst->getForwardingOwnershipKind(), TrueCount, FalseCount));
3198
10
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Line
Count
Source
3184
1
SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) {
3185
1
  SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB());
3186
1
  SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB());
3187
1
  auto TrueCount = Inst->getTrueBBCount();
3188
1
  auto FalseCount = Inst->getFalseBBCount();
3189
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3190
1
  recordClonedInstruction(
3191
1
      Inst, getBuilder().createCheckedCastBranch(
3192
1
                getOpLocation(Inst->getLoc()), Inst->isExact(),
3193
1
                getOpValue(Inst->getOperand()),
3194
1
                getOpASTType(Inst->getSourceFormalType()),
3195
1
                getOpType(Inst->getTargetLoweredType()),
3196
1
                getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB,
3197
1
                Inst->getForwardingOwnershipKind(), TrueCount, FalseCount));
3198
1
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Line
Count
Source
3184
8
SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) {
3185
8
  SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB());
3186
8
  SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB());
3187
8
  auto TrueCount = Inst->getTrueBBCount();
3188
8
  auto FalseCount = Inst->getFalseBBCount();
3189
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3190
8
  recordClonedInstruction(
3191
8
      Inst, getBuilder().createCheckedCastBranch(
3192
8
                getOpLocation(Inst->getLoc()), Inst->isExact(),
3193
8
                getOpValue(Inst->getOperand()),
3194
8
                getOpASTType(Inst->getSourceFormalType()),
3195
8
                getOpType(Inst->getTargetLoweredType()),
3196
8
                getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB,
3197
8
                Inst->getForwardingOwnershipKind(), TrueCount, FalseCount));
3198
8
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Line
Count
Source
3184
4
SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) {
3185
4
  SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB());
3186
4
  SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB());
3187
4
  auto TrueCount = Inst->getTrueBBCount();
3188
4
  auto FalseCount = Inst->getFalseBBCount();
3189
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3190
4
  recordClonedInstruction(
3191
4
      Inst, getBuilder().createCheckedCastBranch(
3192
4
                getOpLocation(Inst->getLoc()), Inst->isExact(),
3193
4
                getOpValue(Inst->getOperand()),
3194
4
                getOpASTType(Inst->getSourceFormalType()),
3195
4
                getOpType(Inst->getTargetLoweredType()),
3196
4
                getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB,
3197
4
                Inst->getForwardingOwnershipKind(), TrueCount, FalseCount));
3198
4
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
_ZN5swift9SILClonerINS_13GenericClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Line
Count
Source
3184
3.72k
SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) {
3185
3.72k
  SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB());
3186
3.72k
  SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB());
3187
3.72k
  auto TrueCount = Inst->getTrueBBCount();
3188
3.72k
  auto FalseCount = Inst->getFalseBBCount();
3189
3.72k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3190
3.72k
  recordClonedInstruction(
3191
3.72k
      Inst, getBuilder().createCheckedCastBranch(
3192
3.72k
                getOpLocation(Inst->getLoc()), Inst->isExact(),
3193
3.72k
                getOpValue(Inst->getOperand()),
3194
3.72k
                getOpASTType(Inst->getSourceFormalType()),
3195
3.72k
                getOpType(Inst->getTargetLoweredType()),
3196
3.72k
                getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB,
3197
3.72k
                Inst->getForwardingOwnershipKind(), TrueCount, FalseCount));
3198
3.72k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
Line
Count
Source
3184
735
SILCloner<ImplClass>::visitCheckedCastBranchInst(CheckedCastBranchInst *Inst) {
3185
735
  SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB());
3186
735
  SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB());
3187
735
  auto TrueCount = Inst->getTrueBBCount();
3188
735
  auto FalseCount = Inst->getFalseBBCount();
3189
735
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3190
735
  recordClonedInstruction(
3191
735
      Inst, getBuilder().createCheckedCastBranch(
3192
735
                getOpLocation(Inst->getLoc()), Inst->isExact(),
3193
735
                getOpValue(Inst->getOperand()),
3194
735
                getOpASTType(Inst->getSourceFormalType()),
3195
735
                getOpType(Inst->getTargetLoweredType()),
3196
735
                getOpASTType(Inst->getTargetFormalType()), OpSuccBB, OpFailBB,
3197
735
                Inst->getForwardingOwnershipKind(), TrueCount, FalseCount));
3198
735
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE26visitCheckedCastBranchInstEPNS_21CheckedCastBranchInstE
3199
3200
template<typename ImplClass>
3201
void SILCloner<ImplClass>::visitCheckedCastAddrBranchInst(
3202
1
                                             CheckedCastAddrBranchInst *Inst) {
3203
1
  SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB());
3204
1
  SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB());
3205
1
  SILValue SrcValue = getOpValue(Inst->getSrc());
3206
1
  SILValue DestValue = getOpValue(Inst->getDest());
3207
1
  CanType SrcType = getOpASTType(Inst->getSourceFormalType());
3208
1
  CanType TargetType = getOpASTType(Inst->getTargetFormalType());
3209
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3210
1
  auto TrueCount = Inst->getTrueBBCount();
3211
1
  auto FalseCount = Inst->getFalseBBCount();
3212
1
  recordClonedInstruction(Inst, getBuilder().createCheckedCastAddrBranch(
3213
1
                                    getOpLocation(Inst->getLoc()),
3214
1
                                    Inst->getConsumptionKind(), SrcValue,
3215
1
                                    SrcType, DestValue, TargetType, OpSuccBB,
3216
1
                                    OpFailBB, TrueCount, FalseCount));
3217
1
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Line
Count
Source
3202
1
                                             CheckedCastAddrBranchInst *Inst) {
3203
1
  SILBasicBlock *OpSuccBB = getOpBasicBlock(Inst->getSuccessBB());
3204
1
  SILBasicBlock *OpFailBB = getOpBasicBlock(Inst->getFailureBB());
3205
1
  SILValue SrcValue = getOpValue(Inst->getSrc());
3206
1
  SILValue DestValue = getOpValue(Inst->getDest());
3207
1
  CanType SrcType = getOpASTType(Inst->getSourceFormalType());
3208
1
  CanType TargetType = getOpASTType(Inst->getTargetFormalType());
3209
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3210
1
  auto TrueCount = Inst->getTrueBBCount();
3211
1
  auto FalseCount = Inst->getFalseBBCount();
3212
1
  recordClonedInstruction(Inst, getBuilder().createCheckedCastAddrBranch(
3213
1
                                    getOpLocation(Inst->getLoc()),
3214
1
                                    Inst->getConsumptionKind(), SrcValue,
3215
1
                                    SrcType, DestValue, TargetType, OpSuccBB,
3216
1
                                    OpFailBB, TrueCount, FalseCount));
3217
1
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitCheckedCastAddrBranchInstEPNS_25CheckedCastAddrBranchInstE
3218
  
3219
template<typename ImplClass>
3220
void
3221
4
SILCloner<ImplClass>::visitSwitchValueInst(SwitchValueInst *Inst) {
3222
4
  SILBasicBlock *DefaultBB = nullptr;
3223
4
  if (Inst->hasDefault())
3224
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3225
4
  SmallVector<std::pair<SILValue, SILBasicBlock*>, 8> CaseBBs;
3226
12
  for (int i = 0, e = Inst->getNumCases(); i != e; ++i)
3227
8
    CaseBBs.push_back(std::make_pair(getOpValue(Inst->getCase(i).first),
3228
8
                                     getOpBasicBlock(Inst->getCase(i).second)));
3229
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3230
4
  recordClonedInstruction(
3231
4
      Inst, getBuilder().createSwitchValue(getOpLocation(Inst->getLoc()),
3232
4
                                           getOpValue(Inst->getOperand()),
3233
4
                                           DefaultBB, CaseBBs));
3234
4
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Line
Count
Source
3221
4
SILCloner<ImplClass>::visitSwitchValueInst(SwitchValueInst *Inst) {
3222
4
  SILBasicBlock *DefaultBB = nullptr;
3223
4
  if (Inst->hasDefault())
3224
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3225
4
  SmallVector<std::pair<SILValue, SILBasicBlock*>, 8> CaseBBs;
3226
12
  for (int i = 0, e = Inst->getNumCases(); i != e; ++i)
3227
8
    CaseBBs.push_back(std::make_pair(getOpValue(Inst->getCase(i).first),
3228
8
                                     getOpBasicBlock(Inst->getCase(i).second)));
3229
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3230
4
  recordClonedInstruction(
3231
4
      Inst, getBuilder().createSwitchValue(getOpLocation(Inst->getLoc()),
3232
4
                                           getOpValue(Inst->getOperand()),
3233
4
                                           DefaultBB, CaseBBs));
3234
4
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE20visitSwitchValueInstEPNS_15SwitchValueInstE
3235
3236
template<typename ImplClass>
3237
void
3238
17.2k
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
17.2k
  SILBasicBlock *DefaultBB = nullptr;
3240
17.2k
  if (Inst->hasDefault())
3241
237
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
17.2k
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
66.0k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
48.8k
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
48.8k
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
17.2k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
17.2k
  recordClonedInstruction(
3248
17.2k
      Inst, getBuilder().createSwitchEnum(
3249
17.2k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
17.2k
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
17.2k
                getBuilder().hasOwnership()
3252
17.2k
                    ? Inst->getForwardingOwnershipKind()
3253
17.2k
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
17.2k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Line
Count
Source
3238
308
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
308
  SILBasicBlock *DefaultBB = nullptr;
3240
308
  if (Inst->hasDefault())
3241
3
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
308
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
976
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
668
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
668
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
308
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
308
  recordClonedInstruction(
3248
308
      Inst, getBuilder().createSwitchEnum(
3249
308
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
308
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
308
                getBuilder().hasOwnership()
3252
308
                    ? Inst->getForwardingOwnershipKind()
3253
308
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
308
}
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Line
Count
Source
3238
1
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
1
  SILBasicBlock *DefaultBB = nullptr;
3240
1
  if (Inst->hasDefault())
3241
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
1
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
3
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
2
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
2
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
1
  recordClonedInstruction(
3248
1
      Inst, getBuilder().createSwitchEnum(
3249
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
1
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
1
                getBuilder().hasOwnership()
3252
1
                    ? Inst->getForwardingOwnershipKind()
3253
1
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
1
}
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Line
Count
Source
3238
332
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
332
  SILBasicBlock *DefaultBB = nullptr;
3240
332
  if (Inst->hasDefault())
3241
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
332
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
996
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
664
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
664
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
332
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
332
  recordClonedInstruction(
3248
332
      Inst, getBuilder().createSwitchEnum(
3249
332
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
332
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
332
                getBuilder().hasOwnership()
3252
332
                    ? Inst->getForwardingOwnershipKind()
3253
332
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
332
}
CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Line
Count
Source
3238
1
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
1
  SILBasicBlock *DefaultBB = nullptr;
3240
1
  if (Inst->hasDefault())
3241
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
1
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
3
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
2
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
2
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
1
  recordClonedInstruction(
3248
1
      Inst, getBuilder().createSwitchEnum(
3249
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
1
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
1
                getBuilder().hasOwnership()
3252
1
                    ? Inst->getForwardingOwnershipKind()
3253
1
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
1
}
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Line
Count
Source
3238
6
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
6
  SILBasicBlock *DefaultBB = nullptr;
3240
6
  if (Inst->hasDefault())
3241
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
6
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
18
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
12
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
12
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
6
  recordClonedInstruction(
3248
6
      Inst, getBuilder().createSwitchEnum(
3249
6
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
6
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
6
                getBuilder().hasOwnership()
3252
6
                    ? Inst->getForwardingOwnershipKind()
3253
6
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
6
}
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Line
Count
Source
3238
4
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
4
  SILBasicBlock *DefaultBB = nullptr;
3240
4
  if (Inst->hasDefault())
3241
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
4
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
12
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
8
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
8
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
4
  recordClonedInstruction(
3248
4
      Inst, getBuilder().createSwitchEnum(
3249
4
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
4
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
4
                getBuilder().hasOwnership()
3252
4
                    ? Inst->getForwardingOwnershipKind()
3253
4
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
4
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Line
Count
Source
3238
3.85k
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
3.85k
  SILBasicBlock *DefaultBB = nullptr;
3240
3.85k
  if (Inst->hasDefault())
3241
2
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
3.85k
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
12.0k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
8.16k
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
8.16k
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
3.85k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
3.85k
  recordClonedInstruction(
3248
3.85k
      Inst, getBuilder().createSwitchEnum(
3249
3.85k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
3.85k
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
3.85k
                getBuilder().hasOwnership()
3252
3.85k
                    ? Inst->getForwardingOwnershipKind()
3253
3.85k
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
3.85k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Line
Count
Source
3238
1
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
1
  SILBasicBlock *DefaultBB = nullptr;
3240
1
  if (Inst->hasDefault())
3241
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
1
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
3
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
2
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
2
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
1
  recordClonedInstruction(
3248
1
      Inst, getBuilder().createSwitchEnum(
3249
1
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
1
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
1
                getBuilder().hasOwnership()
3252
1
                    ? Inst->getForwardingOwnershipKind()
3253
1
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
1
}
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Line
Count
Source
3238
4.23k
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
4.23k
  SILBasicBlock *DefaultBB = nullptr;
3240
4.23k
  if (Inst->hasDefault())
3241
37
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
4.23k
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
12.9k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
8.74k
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
8.74k
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
4.23k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
4.23k
  recordClonedInstruction(
3248
4.23k
      Inst, getBuilder().createSwitchEnum(
3249
4.23k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
4.23k
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
4.23k
                getBuilder().hasOwnership()
3252
4.23k
                    ? Inst->getForwardingOwnershipKind()
3253
4.23k
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
4.23k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
Line
Count
Source
3238
8.52k
SILCloner<ImplClass>::visitSwitchEnumInst(SwitchEnumInst *Inst) {
3239
8.52k
  SILBasicBlock *DefaultBB = nullptr;
3240
8.52k
  if (Inst->hasDefault())
3241
195
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3242
8.52k
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3243
39.0k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3244
30.5k
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3245
30.5k
                                     getOpBasicBlock(Inst->getCase(i).second)));
3246
8.52k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3247
8.52k
  recordClonedInstruction(
3248
8.52k
      Inst, getBuilder().createSwitchEnum(
3249
8.52k
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3250
8.52k
                DefaultBB, CaseBBs, llvm::None, ProfileCounter(),
3251
8.52k
                getBuilder().hasOwnership()
3252
8.52k
                    ? Inst->getForwardingOwnershipKind()
3253
8.52k
                    : ValueOwnershipKind(OwnershipKind::None)));
3254
8.52k
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitSwitchEnumInstEPNS_14SwitchEnumInstE
3255
3256
template<typename ImplClass>
3257
void
3258
SILCloner<ImplClass>::
3259
3.17k
visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) {
3260
3.17k
  SILBasicBlock *DefaultBB = nullptr;
3261
3.17k
  if (Inst->hasDefault())
3262
79
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3263
3.17k
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3264
9.68k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3265
6.51k
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3266
6.51k
                                     getOpBasicBlock(Inst->getCase(i).second)));
3267
3.17k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3268
3.17k
  recordClonedInstruction(
3269
3.17k
      Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()),
3270
3.17k
                                              getOpValue(Inst->getOperand()),
3271
3.17k
                                              DefaultBB, CaseBBs));
3272
3.17k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Line
Count
Source
3259
6
visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) {
3260
6
  SILBasicBlock *DefaultBB = nullptr;
3261
6
  if (Inst->hasDefault())
3262
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3263
6
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3264
18
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3265
12
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3266
12
                                     getOpBasicBlock(Inst->getCase(i).second)));
3267
6
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3268
6
  recordClonedInstruction(
3269
6
      Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()),
3270
6
                                              getOpValue(Inst->getOperand()),
3271
6
                                              DefaultBB, CaseBBs));
3272
6
}
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Line
Count
Source
3259
2
visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) {
3260
2
  SILBasicBlock *DefaultBB = nullptr;
3261
2
  if (Inst->hasDefault())
3262
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3263
2
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3264
6
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3265
4
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3266
4
                                     getOpBasicBlock(Inst->getCase(i).second)));
3267
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3268
2
  recordClonedInstruction(
3269
2
      Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()),
3270
2
                                              getOpValue(Inst->getOperand()),
3271
2
                                              DefaultBB, CaseBBs));
3272
2
}
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Line
Count
Source
3259
121
visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) {
3260
121
  SILBasicBlock *DefaultBB = nullptr;
3261
121
  if (Inst->hasDefault())
3262
0
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3263
121
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3264
363
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3265
242
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3266
242
                                     getOpBasicBlock(Inst->getCase(i).second)));
3267
121
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3268
121
  recordClonedInstruction(
3269
121
      Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()),
3270
121
                                              getOpValue(Inst->getOperand()),
3271
121
                                              DefaultBB, CaseBBs));
3272
121
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Line
Count
Source
3259
2.11k
visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) {
3260
2.11k
  SILBasicBlock *DefaultBB = nullptr;
3261
2.11k
  if (Inst->hasDefault())
3262
3
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3263
2.11k
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3264
6.33k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3265
4.22k
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3266
4.22k
                                     getOpBasicBlock(Inst->getCase(i).second)));
3267
2.11k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3268
2.11k
  recordClonedInstruction(
3269
2.11k
      Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()),
3270
2.11k
                                              getOpValue(Inst->getOperand()),
3271
2.11k
                                              DefaultBB, CaseBBs));
3272
2.11k
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
Line
Count
Source
3259
935
visitSwitchEnumAddrInst(SwitchEnumAddrInst *Inst) {
3260
935
  SILBasicBlock *DefaultBB = nullptr;
3261
935
  if (Inst->hasDefault())
3262
76
    DefaultBB = getOpBasicBlock(Inst->getDefaultBB());
3263
935
  SmallVector<std::pair<EnumElementDecl*, SILBasicBlock*>, 8> CaseBBs;
3264
2.96k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3265
2.02k
    CaseBBs.push_back(std::make_pair(Inst->getCase(i).first,
3266
2.02k
                                     getOpBasicBlock(Inst->getCase(i).second)));
3267
935
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3268
935
  recordClonedInstruction(
3269
935
      Inst, getBuilder().createSwitchEnumAddr(getOpLocation(Inst->getLoc()),
3270
935
                                              getOpValue(Inst->getOperand()),
3271
935
                                              DefaultBB, CaseBBs));
3272
935
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitSwitchEnumAddrInstEPNS_18SwitchEnumAddrInstE
3273
  
3274
3275
  
3276
template<typename ImplClass>
3277
void
3278
3.90k
SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) {
3279
3.90k
  SILValue DefaultResult;
3280
3.90k
  if (Inst->hasDefault())
3281
225
    DefaultResult = getOpValue(Inst->getDefaultResult());
3282
3.90k
  SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults;
3283
39.4k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3284
35.5k
    CaseResults.push_back(std::make_pair(Inst->getCase(i).first,
3285
35.5k
                                         getOpValue(Inst->getCase(i).second)));
3286
  
3287
3.90k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3288
3.90k
  recordClonedInstruction(
3289
3.90k
      Inst, getBuilder().createSelectEnum(
3290
3.90k
                getOpLocation(Inst->getLoc()),
3291
3.90k
                getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()),
3292
3.90k
                DefaultResult, CaseResults, llvm::None, ProfileCounter()));
3293
3.90k
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE19visitSelectEnumInstEPNS_14SelectEnumInstE
ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Line
Count
Source
3278
92
SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) {
3279
92
  SILValue DefaultResult;
3280
92
  if (Inst->hasDefault())
3281
0
    DefaultResult = getOpValue(Inst->getDefaultResult());
3282
92
  SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults;
3283
306
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3284
214
    CaseResults.push_back(std::make_pair(Inst->getCase(i).first,
3285
214
                                         getOpValue(Inst->getCase(i).second)));
3286
  
3287
92
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3288
92
  recordClonedInstruction(
3289
92
      Inst, getBuilder().createSelectEnum(
3290
92
                getOpLocation(Inst->getLoc()),
3291
92
                getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()),
3292
92
                DefaultResult, CaseResults, llvm::None, ProfileCounter()));
3293
92
}
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Line
Count
Source
3278
1.33k
SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) {
3279
1.33k
  SILValue DefaultResult;
3280
1.33k
  if (Inst->hasDefault())
3281
5
    DefaultResult = getOpValue(Inst->getDefaultResult());
3282
1.33k
  SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults;
3283
4.09k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3284
2.76k
    CaseResults.push_back(std::make_pair(Inst->getCase(i).first,
3285
2.76k
                                         getOpValue(Inst->getCase(i).second)));
3286
  
3287
1.33k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3288
1.33k
  recordClonedInstruction(
3289
1.33k
      Inst, getBuilder().createSelectEnum(
3290
1.33k
                getOpLocation(Inst->getLoc()),
3291
1.33k
                getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()),
3292
1.33k
                DefaultResult, CaseResults, llvm::None, ProfileCounter()));
3293
1.33k
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE19visitSelectEnumInstEPNS_14SelectEnumInstE
_ZN5swift9SILClonerINS_13GenericClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Line
Count
Source
3278
861
SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) {
3279
861
  SILValue DefaultResult;
3280
861
  if (Inst->hasDefault())
3281
14
    DefaultResult = getOpValue(Inst->getDefaultResult());
3282
861
  SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults;
3283
2.77k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3284
1.91k
    CaseResults.push_back(std::make_pair(Inst->getCase(i).first,
3285
1.91k
                                         getOpValue(Inst->getCase(i).second)));
3286
  
3287
861
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3288
861
  recordClonedInstruction(
3289
861
      Inst, getBuilder().createSelectEnum(
3290
861
                getOpLocation(Inst->getLoc()),
3291
861
                getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()),
3292
861
                DefaultResult, CaseResults, llvm::None, ProfileCounter()));
3293
861
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Line
Count
Source
3278
1.61k
SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) {
3279
1.61k
  SILValue DefaultResult;
3280
1.61k
  if (Inst->hasDefault())
3281
206
    DefaultResult = getOpValue(Inst->getDefaultResult());
3282
1.61k
  SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults;
3283
32.2k
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3284
30.6k
    CaseResults.push_back(std::make_pair(Inst->getCase(i).first,
3285
30.6k
                                         getOpValue(Inst->getCase(i).second)));
3286
  
3287
1.61k
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3288
1.61k
  recordClonedInstruction(
3289
1.61k
      Inst, getBuilder().createSelectEnum(
3290
1.61k
                getOpLocation(Inst->getLoc()),
3291
1.61k
                getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()),
3292
1.61k
                DefaultResult, CaseResults, llvm::None, ProfileCounter()));
3293
1.61k
}
SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE19visitSelectEnumInstEPNS_14SelectEnumInstE
Line
Count
Source
3278
1
SILCloner<ImplClass>::visitSelectEnumInst(SelectEnumInst *Inst) {
3279
1
  SILValue DefaultResult;
3280
1
  if (Inst->hasDefault())
3281
0
    DefaultResult = getOpValue(Inst->getDefaultResult());
3282
1
  SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults;
3283
10
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3284
9
    CaseResults.push_back(std::make_pair(Inst->getCase(i).first,
3285
9
                                         getOpValue(Inst->getCase(i).second)));
3286
  
3287
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3288
1
  recordClonedInstruction(
3289
1
      Inst, getBuilder().createSelectEnum(
3290
1
                getOpLocation(Inst->getLoc()),
3291
1
                getOpValue(Inst->getEnumOperand()), getOpType(Inst->getType()),
3292
1
                DefaultResult, CaseResults, llvm::None, ProfileCounter()));
3293
1
}
3294
3295
template<typename ImplClass>
3296
void
3297
3
SILCloner<ImplClass>::visitSelectEnumAddrInst(SelectEnumAddrInst *Inst) {
3298
3
  SILValue DefaultResult;
3299
3
  if (Inst->hasDefault())
3300
0
    DefaultResult = getOpValue(Inst->getDefaultResult());
3301
3
  SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults;
3302
9
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3303
6
    CaseResults.push_back(std::make_pair(Inst->getCase(i).first,
3304
6
                                         getOpValue(Inst->getCase(i).second)));
3305
  
3306
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3307
3
  recordClonedInstruction(Inst, getBuilder().createSelectEnumAddr(
3308
3
                                    getOpLocation(Inst->getLoc()),
3309
3
                                    getOpValue(Inst->getEnumOperand()),
3310
3
                                    getOpType(Inst->getType()), DefaultResult,
3311
3
                                    CaseResults));
3312
3
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Line
Count
Source
3297
3
SILCloner<ImplClass>::visitSelectEnumAddrInst(SelectEnumAddrInst *Inst) {
3298
3
  SILValue DefaultResult;
3299
3
  if (Inst->hasDefault())
3300
0
    DefaultResult = getOpValue(Inst->getDefaultResult());
3301
3
  SmallVector<std::pair<EnumElementDecl*, SILValue>, 8> CaseResults;
3302
9
  for (unsigned i = 0, e = Inst->getNumCases(); i != e; ++i)
3303
6
    CaseResults.push_back(std::make_pair(Inst->getCase(i).first,
3304
6
                                         getOpValue(Inst->getCase(i).second)));
3305
  
3306
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3307
3
  recordClonedInstruction(Inst, getBuilder().createSelectEnumAddr(
3308
3
                                    getOpLocation(Inst->getLoc()),
3309
3
                                    getOpValue(Inst->getEnumOperand()),
3310
3
                                    getOpType(Inst->getType()), DefaultResult,
3311
3
                                    CaseResults));
3312
3
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitSelectEnumAddrInstEPNS_18SelectEnumAddrInstE
3313
3314
template <typename ImplClass>
3315
void SILCloner<ImplClass>::visitDynamicMethodBranchInst(
3316
0
    DynamicMethodBranchInst *Inst) {
3317
0
  SILBasicBlock *OpHasMethodBB = getOpBasicBlock(Inst->getHasMethodBB());
3318
0
  SILBasicBlock *OpHasNoMethodBB = getOpBasicBlock(Inst->getNoMethodBB());
3319
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3320
0
  recordClonedInstruction(
3321
0
      Inst, getBuilder().createDynamicMethodBranch(
3322
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3323
0
                Inst->getMember(), OpHasMethodBB, OpHasNoMethodBB));
3324
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitDynamicMethodBranchInstEPNS_23DynamicMethodBranchInstE
3325
3326
template <typename ImplClass>
3327
void SILCloner<ImplClass>::visitProjectBlockStorageInst(
3328
7
    ProjectBlockStorageInst *Inst) {
3329
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3330
7
  recordClonedInstruction(Inst, getBuilder().createProjectBlockStorage(
3331
7
                                    getOpLocation(Inst->getLoc()),
3332
7
                                    getOpValue(Inst->getOperand()),
3333
7
                                    getOpType(Inst->getType())));
3334
7
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
Line
Count
Source
3328
7
    ProjectBlockStorageInst *Inst) {
3329
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3330
7
  recordClonedInstruction(Inst, getBuilder().createProjectBlockStorage(
3331
7
                                    getOpLocation(Inst->getLoc()),
3332
7
                                    getOpValue(Inst->getOperand()),
3333
7
                                    getOpType(Inst->getType())));
3334
7
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE28visitProjectBlockStorageInstEPNS_23ProjectBlockStorageInstE
3335
3336
template <typename ImplClass>
3337
void SILCloner<ImplClass>::visitInitBlockStorageHeaderInst(
3338
7
    InitBlockStorageHeaderInst *Inst) {
3339
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3340
7
  recordClonedInstruction(
3341
7
      Inst,
3342
7
      getBuilder().createInitBlockStorageHeader(
3343
7
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getBlockStorage()),
3344
7
          getOpValue(Inst->getInvokeFunction()), getOpType(Inst->getType()),
3345
7
          getOpSubstitutionMap(Inst->getSubstitutions())));
3346
7
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
Line
Count
Source
3338
7
    InitBlockStorageHeaderInst *Inst) {
3339
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3340
7
  recordClonedInstruction(
3341
7
      Inst,
3342
7
      getBuilder().createInitBlockStorageHeader(
3343
7
          getOpLocation(Inst->getLoc()), getOpValue(Inst->getBlockStorage()),
3344
7
          getOpValue(Inst->getInvokeFunction()), getOpType(Inst->getType()),
3345
7
          getOpSubstitutionMap(Inst->getSubstitutions())));
3346
7
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitInitBlockStorageHeaderInstEPNS_26InitBlockStorageHeaderInstE
3347
3348
template <typename ImplClass>
3349
void SILCloner<ImplClass>::visitObjCMetatypeToObjectInst(
3350
0
    ObjCMetatypeToObjectInst *Inst) {
3351
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3352
0
  recordClonedInstruction(Inst, getBuilder().createObjCMetatypeToObject(
3353
0
                                    getOpLocation(Inst->getLoc()),
3354
0
                                    getOpValue(Inst->getOperand()),
3355
0
                                    getOpType(Inst->getType())));
3356
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitObjCMetatypeToObjectInstEPNS_24ObjCMetatypeToObjectInstE
3357
3358
template <typename ImplClass>
3359
void SILCloner<ImplClass>::visitObjCExistentialMetatypeToObjectInst(
3360
0
    ObjCExistentialMetatypeToObjectInst *Inst) {
3361
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3362
0
  recordClonedInstruction(
3363
0
      Inst, getBuilder().createObjCExistentialMetatypeToObject(
3364
0
                getOpLocation(Inst->getLoc()), getOpValue(Inst->getOperand()),
3365
0
                getOpType(Inst->getType())));
3366
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE40visitObjCExistentialMetatypeToObjectInstEPNS_35ObjCExistentialMetatypeToObjectInstE
3367
3368
template <typename ImplClass>
3369
0
void SILCloner<ImplClass>::visitObjCProtocolInst(ObjCProtocolInst *Inst) {
3370
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3371
0
  recordClonedInstruction(
3372
0
      Inst, getBuilder().createObjCProtocol(getOpLocation(Inst->getLoc()),
3373
0
                                            Inst->getProtocol(),
3374
0
                                            getOpType(Inst->getType())));
3375
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE21visitObjCProtocolInstEPNS_16ObjCProtocolInstE
3376
3377
template <typename ImplClass>
3378
100
void SILCloner<ImplClass>::visitKeyPathInst(KeyPathInst *Inst) {
3379
100
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3380
100
  SmallVector<SILValue, 4> opValues;
3381
100
  for (auto &op : Inst->getAllOperands())
3382
0
    opValues.push_back(getOpValue(op.get()));
3383
3384
100
  recordClonedInstruction(Inst,
3385
100
                          getBuilder().createKeyPath(
3386
100
                              getOpLocation(Inst->getLoc()), Inst->getPattern(),
3387
100
                              getOpSubstitutionMap(Inst->getSubstitutions()),
3388
100
                              opValues, getOpType(Inst->getType())));
3389
100
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Line
Count
Source
3378
60
void SILCloner<ImplClass>::visitKeyPathInst(KeyPathInst *Inst) {
3379
60
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3380
60
  SmallVector<SILValue, 4> opValues;
3381
60
  for (auto &op : Inst->getAllOperands())
3382
0
    opValues.push_back(getOpValue(op.get()));
3383
3384
60
  recordClonedInstruction(Inst,
3385
60
                          getBuilder().createKeyPath(
3386
60
                              getOpLocation(Inst->getLoc()), Inst->getPattern(),
3387
60
                              getOpSubstitutionMap(Inst->getSubstitutions()),
3388
60
                              opValues, getOpType(Inst->getType())));
3389
60
}
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE16visitKeyPathInstEPNS_11KeyPathInstE
_ZN5swift9SILClonerINS_13GenericClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Line
Count
Source
3378
4
void SILCloner<ImplClass>::visitKeyPathInst(KeyPathInst *Inst) {
3379
4
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3380
4
  SmallVector<SILValue, 4> opValues;
3381
4
  for (auto &op : Inst->getAllOperands())
3382
0
    opValues.push_back(getOpValue(op.get()));
3383
3384
4
  recordClonedInstruction(Inst,
3385
4
                          getBuilder().createKeyPath(
3386
4
                              getOpLocation(Inst->getLoc()), Inst->getPattern(),
3387
4
                              getOpSubstitutionMap(Inst->getSubstitutions()),
3388
4
                              opValues, getOpType(Inst->getType())));
3389
4
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
Line
Count
Source
3378
36
void SILCloner<ImplClass>::visitKeyPathInst(KeyPathInst *Inst) {
3379
36
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3380
36
  SmallVector<SILValue, 4> opValues;
3381
36
  for (auto &op : Inst->getAllOperands())
3382
0
    opValues.push_back(getOpValue(op.get()));
3383
3384
36
  recordClonedInstruction(Inst,
3385
36
                          getBuilder().createKeyPath(
3386
36
                              getOpLocation(Inst->getLoc()), Inst->getPattern(),
3387
36
                              getOpSubstitutionMap(Inst->getSubstitutions()),
3388
36
                              opValues, getOpType(Inst->getType())));
3389
36
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE16visitKeyPathInstEPNS_11KeyPathInstE
3390
3391
template <typename ImplClass>
3392
void SILCloner<ImplClass>::visitDifferentiableFunctionInst(
3393
58
    DifferentiableFunctionInst *Inst) {
3394
58
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3395
58
  llvm::Optional<std::pair<SILValue, SILValue>> derivativeFns = llvm::None;
3396
58
  if (Inst->hasDerivativeFunctions())
3397
56
    derivativeFns = std::make_pair(getOpValue(Inst->getJVPFunction()),
3398
56
                                   getOpValue(Inst->getVJPFunction()));
3399
58
  recordClonedInstruction(
3400
58
      Inst, getBuilder().createDifferentiableFunction(
3401
58
                getOpLocation(Inst->getLoc()), Inst->getParameterIndices(),
3402
58
                Inst->getResultIndices(),
3403
58
                getOpValue(Inst->getOriginalFunction()), derivativeFns,
3404
58
                getBuilder().hasOwnership()
3405
58
                    ? Inst->getForwardingOwnershipKind()
3406
58
                    : ValueOwnershipKind(OwnershipKind::None)));
3407
58
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Line
Count
Source
3393
14
    DifferentiableFunctionInst *Inst) {
3394
14
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3395
14
  llvm::Optional<std::pair<SILValue, SILValue>> derivativeFns = llvm::None;
3396
14
  if (Inst->hasDerivativeFunctions())
3397
14
    derivativeFns = std::make_pair(getOpValue(Inst->getJVPFunction()),
3398
14
                                   getOpValue(Inst->getVJPFunction()));
3399
14
  recordClonedInstruction(
3400
14
      Inst, getBuilder().createDifferentiableFunction(
3401
14
                getOpLocation(Inst->getLoc()), Inst->getParameterIndices(),
3402
14
                Inst->getResultIndices(),
3403
14
                getOpValue(Inst->getOriginalFunction()), derivativeFns,
3404
14
                getBuilder().hasOwnership()
3405
14
                    ? Inst->getForwardingOwnershipKind()
3406
14
                    : ValueOwnershipKind(OwnershipKind::None)));
3407
14
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Line
Count
Source
3393
24
    DifferentiableFunctionInst *Inst) {
3394
24
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3395
24
  llvm::Optional<std::pair<SILValue, SILValue>> derivativeFns = llvm::None;
3396
24
  if (Inst->hasDerivativeFunctions())
3397
22
    derivativeFns = std::make_pair(getOpValue(Inst->getJVPFunction()),
3398
22
                                   getOpValue(Inst->getVJPFunction()));
3399
24
  recordClonedInstruction(
3400
24
      Inst, getBuilder().createDifferentiableFunction(
3401
24
                getOpLocation(Inst->getLoc()), Inst->getParameterIndices(),
3402
24
                Inst->getResultIndices(),
3403
24
                getOpValue(Inst->getOriginalFunction()), derivativeFns,
3404
24
                getBuilder().hasOwnership()
3405
24
                    ? Inst->getForwardingOwnershipKind()
3406
24
                    : ValueOwnershipKind(OwnershipKind::None)));
3407
24
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
_ZN5swift9SILClonerINS_13GenericClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Line
Count
Source
3393
2
    DifferentiableFunctionInst *Inst) {
3394
2
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3395
2
  llvm::Optional<std::pair<SILValue, SILValue>> derivativeFns = llvm::None;
3396
2
  if (Inst->hasDerivativeFunctions())
3397
2
    derivativeFns = std::make_pair(getOpValue(Inst->getJVPFunction()),
3398
2
                                   getOpValue(Inst->getVJPFunction()));
3399
2
  recordClonedInstruction(
3400
2
      Inst, getBuilder().createDifferentiableFunction(
3401
2
                getOpLocation(Inst->getLoc()), Inst->getParameterIndices(),
3402
2
                Inst->getResultIndices(),
3403
2
                getOpValue(Inst->getOriginalFunction()), derivativeFns,
3404
2
                getBuilder().hasOwnership()
3405
2
                    ? Inst->getForwardingOwnershipKind()
3406
2
                    : ValueOwnershipKind(OwnershipKind::None)));
3407
2
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
Line
Count
Source
3393
18
    DifferentiableFunctionInst *Inst) {
3394
18
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3395
18
  llvm::Optional<std::pair<SILValue, SILValue>> derivativeFns = llvm::None;
3396
18
  if (Inst->hasDerivativeFunctions())
3397
18
    derivativeFns = std::make_pair(getOpValue(Inst->getJVPFunction()),
3398
18
                                   getOpValue(Inst->getVJPFunction()));
3399
18
  recordClonedInstruction(
3400
18
      Inst, getBuilder().createDifferentiableFunction(
3401
18
                getOpLocation(Inst->getLoc()), Inst->getParameterIndices(),
3402
18
                Inst->getResultIndices(),
3403
18
                getOpValue(Inst->getOriginalFunction()), derivativeFns,
3404
18
                getBuilder().hasOwnership()
3405
18
                    ? Inst->getForwardingOwnershipKind()
3406
18
                    : ValueOwnershipKind(OwnershipKind::None)));
3407
18
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitDifferentiableFunctionInstEPNS_26DifferentiableFunctionInstE
3408
3409
template<typename ImplClass>
3410
0
void SILCloner<ImplClass>::visitLinearFunctionInst(LinearFunctionInst *Inst) {
3411
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3412
0
  auto transpose = Inst->getOptionalTransposeFunction();
3413
0
  if (transpose)
3414
0
    transpose = getOpValue(*transpose);
3415
0
  recordClonedInstruction(
3416
0
      Inst,
3417
0
      getBuilder().createLinearFunction(
3418
0
          getOpLocation(Inst->getLoc()), Inst->getParameterIndices(),
3419
0
          getOpValue(Inst->getOriginalFunction()),
3420
0
          getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind()
3421
0
                                      : ValueOwnershipKind(OwnershipKind::None),
3422
0
          transpose));
3423
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE23visitLinearFunctionInstEPNS_18LinearFunctionInstE
3424
3425
template <typename ImplClass>
3426
void SILCloner<ImplClass>::visitDifferentiableFunctionExtractInst(
3427
81
    DifferentiableFunctionExtractInst *Inst) {
3428
81
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3429
81
  llvm::Optional<SILType> explicitExtracteeType = llvm::None;
3430
81
  if (Inst->hasExplicitExtracteeType())
3431
0
    explicitExtracteeType = Inst->getType();
3432
81
  recordClonedInstruction(
3433
81
      Inst,
3434
81
      getBuilder().createDifferentiableFunctionExtract(
3435
81
          getOpLocation(Inst->getLoc()), Inst->getExtractee(),
3436
81
          getOpValue(Inst->getOperand()),
3437
81
          getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind()
3438
81
                                      : ValueOwnershipKind(OwnershipKind::None),
3439
81
          explicitExtracteeType));
3440
81
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Line
Count
Source
3427
21
    DifferentiableFunctionExtractInst *Inst) {
3428
21
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3429
21
  llvm::Optional<SILType> explicitExtracteeType = llvm::None;
3430
21
  if (Inst->hasExplicitExtracteeType())
3431
0
    explicitExtracteeType = Inst->getType();
3432
21
  recordClonedInstruction(
3433
21
      Inst,
3434
21
      getBuilder().createDifferentiableFunctionExtract(
3435
21
          getOpLocation(Inst->getLoc()), Inst->getExtractee(),
3436
21
          getOpValue(Inst->getOperand()),
3437
21
          getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind()
3438
21
                                      : ValueOwnershipKind(OwnershipKind::None),
3439
21
          explicitExtracteeType));
3440
21
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Line
Count
Source
3427
33
    DifferentiableFunctionExtractInst *Inst) {
3428
33
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3429
33
  llvm::Optional<SILType> explicitExtracteeType = llvm::None;
3430
33
  if (Inst->hasExplicitExtracteeType())
3431
0
    explicitExtracteeType = Inst->getType();
3432
33
  recordClonedInstruction(
3433
33
      Inst,
3434
33
      getBuilder().createDifferentiableFunctionExtract(
3435
33
          getOpLocation(Inst->getLoc()), Inst->getExtractee(),
3436
33
          getOpValue(Inst->getOperand()),
3437
33
          getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind()
3438
33
                                      : ValueOwnershipKind(OwnershipKind::None),
3439
33
          explicitExtracteeType));
3440
33
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
_ZN5swift9SILClonerINS_13GenericClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Line
Count
Source
3427
9
    DifferentiableFunctionExtractInst *Inst) {
3428
9
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3429
9
  llvm::Optional<SILType> explicitExtracteeType = llvm::None;
3430
9
  if (Inst->hasExplicitExtracteeType())
3431
0
    explicitExtracteeType = Inst->getType();
3432
9
  recordClonedInstruction(
3433
9
      Inst,
3434
9
      getBuilder().createDifferentiableFunctionExtract(
3435
9
          getOpLocation(Inst->getLoc()), Inst->getExtractee(),
3436
9
          getOpValue(Inst->getOperand()),
3437
9
          getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind()
3438
9
                                      : ValueOwnershipKind(OwnershipKind::None),
3439
9
          explicitExtracteeType));
3440
9
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
Line
Count
Source
3427
18
    DifferentiableFunctionExtractInst *Inst) {
3428
18
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3429
18
  llvm::Optional<SILType> explicitExtracteeType = llvm::None;
3430
18
  if (Inst->hasExplicitExtracteeType())
3431
0
    explicitExtracteeType = Inst->getType();
3432
18
  recordClonedInstruction(
3433
18
      Inst,
3434
18
      getBuilder().createDifferentiableFunctionExtract(
3435
18
          getOpLocation(Inst->getLoc()), Inst->getExtractee(),
3436
18
          getOpValue(Inst->getOperand()),
3437
18
          getBuilder().hasOwnership() ? Inst->getForwardingOwnershipKind()
3438
18
                                      : ValueOwnershipKind(OwnershipKind::None),
3439
18
          explicitExtracteeType));
3440
18
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE38visitDifferentiableFunctionExtractInstEPNS_33DifferentiableFunctionExtractInstE
3441
3442
template<typename ImplClass>
3443
void SILCloner<ImplClass>::
3444
0
visitLinearFunctionExtractInst(LinearFunctionExtractInst *Inst) {
3445
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3446
0
  recordClonedInstruction(
3447
0
      Inst, getBuilder().createLinearFunctionExtract(
3448
0
                getOpLocation(Inst->getLoc()), Inst->getExtractee(),
3449
0
                getOpValue(Inst->getOperand()),
3450
0
                getBuilder().hasOwnership()
3451
0
                    ? Inst->getForwardingOwnershipKind()
3452
0
                    : ValueOwnershipKind(OwnershipKind::None)));
3453
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE30visitLinearFunctionExtractInstEPNS_25LinearFunctionExtractInstE
3454
3455
template <typename ImplClass>
3456
void SILCloner<ImplClass>::visitDifferentiabilityWitnessFunctionInst(
3457
37
    DifferentiabilityWitnessFunctionInst *Inst) {
3458
37
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3459
37
  recordClonedInstruction(Inst,
3460
37
                          getBuilder().createDifferentiabilityWitnessFunction(
3461
37
                              getOpLocation(Inst->getLoc()),
3462
37
                              Inst->getWitnessKind(), Inst->getWitness()));
3463
37
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
_ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Line
Count
Source
3457
14
    DifferentiabilityWitnessFunctionInst *Inst) {
3458
14
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3459
14
  recordClonedInstruction(Inst,
3460
14
                          getBuilder().createDifferentiabilityWitnessFunction(
3461
14
                              getOpLocation(Inst->getLoc()),
3462
14
                              Inst->getWitnessKind(), Inst->getWitness()));
3463
14
}
_ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Line
Count
Source
3457
22
    DifferentiabilityWitnessFunctionInst *Inst) {
3458
22
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3459
22
  recordClonedInstruction(Inst,
3460
22
                          getBuilder().createDifferentiabilityWitnessFunction(
3461
22
                              getOpLocation(Inst->getLoc()),
3462
22
                              Inst->getWitnessKind(), Inst->getWitness()));
3463
22
}
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
_ZN5swift9SILClonerINS_15SILInlineClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
Line
Count
Source
3457
1
    DifferentiabilityWitnessFunctionInst *Inst) {
3458
1
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3459
1
  recordClonedInstruction(Inst,
3460
1
                          getBuilder().createDifferentiabilityWitnessFunction(
3461
1
                              getOpLocation(Inst->getLoc()),
3462
1
                              Inst->getWitnessKind(), Inst->getWitness()));
3463
1
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE41visitDifferentiabilityWitnessFunctionInstEPNS_36DifferentiabilityWitnessFunctionInstE
3464
3465
template <typename ImplClass>
3466
void SILCloner<ImplClass>
3467
0
::visitGetAsyncContinuationInst(GetAsyncContinuationInst *Inst) {
3468
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3469
0
  recordClonedInstruction(Inst,
3470
0
                          getBuilder().createGetAsyncContinuation(
3471
0
                            getOpLocation(Inst->getLoc()),
3472
0
                            getOpASTType(Inst->getFormalResumeType()),
3473
0
                            Inst->throws()));
3474
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE29visitGetAsyncContinuationInstEPNS_24GetAsyncContinuationInstE
3475
3476
template <typename ImplClass>
3477
void SILCloner<ImplClass>
3478
36
::visitGetAsyncContinuationAddrInst(GetAsyncContinuationAddrInst *Inst) {
3479
36
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3480
36
  recordClonedInstruction(Inst,
3481
36
                          getBuilder().createGetAsyncContinuationAddr(
3482
36
                            getOpLocation(Inst->getLoc()),
3483
36
                            getOpValue(Inst->getOperand()),
3484
36
                            getOpASTType(Inst->getFormalResumeType()),
3485
36
                            Inst->throws()));
3486
36
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
_ZN5swift9SILClonerINS_13GenericClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Line
Count
Source
3478
7
::visitGetAsyncContinuationAddrInst(GetAsyncContinuationAddrInst *Inst) {
3479
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3480
7
  recordClonedInstruction(Inst,
3481
7
                          getBuilder().createGetAsyncContinuationAddr(
3482
7
                            getOpLocation(Inst->getLoc()),
3483
7
                            getOpValue(Inst->getOperand()),
3484
7
                            getOpASTType(Inst->getFormalResumeType()),
3485
7
                            Inst->throws()));
3486
7
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
Line
Count
Source
3478
29
::visitGetAsyncContinuationAddrInst(GetAsyncContinuationAddrInst *Inst) {
3479
29
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3480
29
  recordClonedInstruction(Inst,
3481
29
                          getBuilder().createGetAsyncContinuationAddr(
3482
29
                            getOpLocation(Inst->getLoc()),
3483
29
                            getOpValue(Inst->getOperand()),
3484
29
                            getOpASTType(Inst->getFormalResumeType()),
3485
29
                            Inst->throws()));
3486
29
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE33visitGetAsyncContinuationAddrInstEPNS_28GetAsyncContinuationAddrInstE
3487
3488
template <typename ImplClass>
3489
void SILCloner<ImplClass>
3490
36
::visitAwaitAsyncContinuationInst(AwaitAsyncContinuationInst *Inst) {
3491
36
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3492
36
  recordClonedInstruction(Inst,
3493
36
                          getBuilder().createAwaitAsyncContinuation(
3494
36
                            getOpLocation(Inst->getLoc()),
3495
36
                            getOpValue(Inst->getOperand()),
3496
36
                            getOpBasicBlock(Inst->getResumeBB()),
3497
36
                            Inst->getErrorBB()
3498
36
                              ? getOpBasicBlock(Inst->getErrorBB())
3499
36
                              : nullptr));
3500
36
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
_ZN5swift9SILClonerINS_13GenericClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Line
Count
Source
3490
7
::visitAwaitAsyncContinuationInst(AwaitAsyncContinuationInst *Inst) {
3491
7
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3492
7
  recordClonedInstruction(Inst,
3493
7
                          getBuilder().createAwaitAsyncContinuation(
3494
7
                            getOpLocation(Inst->getLoc()),
3495
7
                            getOpValue(Inst->getOperand()),
3496
7
                            getOpBasicBlock(Inst->getResumeBB()),
3497
7
                            Inst->getErrorBB()
3498
7
                              ? getOpBasicBlock(Inst->getErrorBB())
3499
7
                              : nullptr));
3500
7
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
Line
Count
Source
3490
29
::visitAwaitAsyncContinuationInst(AwaitAsyncContinuationInst *Inst) {
3491
29
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3492
29
  recordClonedInstruction(Inst,
3493
29
                          getBuilder().createAwaitAsyncContinuation(
3494
29
                            getOpLocation(Inst->getLoc()),
3495
29
                            getOpValue(Inst->getOperand()),
3496
29
                            getOpBasicBlock(Inst->getResumeBB()),
3497
29
                            Inst->getErrorBB()
3498
29
                              ? getOpBasicBlock(Inst->getErrorBB())
3499
29
                              : nullptr));
3500
29
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE31visitAwaitAsyncContinuationInstEPNS_26AwaitAsyncContinuationInstE
3501
3502
template <typename ImplClass>
3503
void SILCloner<ImplClass>
3504
169
::visitHopToExecutorInst(HopToExecutorInst *Inst) {
3505
169
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3506
169
  recordClonedInstruction(Inst,
3507
169
                          getBuilder().createHopToExecutor(
3508
169
                            getOpLocation(Inst->getLoc()),
3509
169
                            getOpValue(Inst->getTargetExecutor()),
3510
169
                            Inst->isMandatory()));
3511
169
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
_ZN5swift9SILClonerINS_16BasicBlockClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Line
Count
Source
3504
8
::visitHopToExecutorInst(HopToExecutorInst *Inst) {
3505
8
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3506
8
  recordClonedInstruction(Inst,
3507
8
                          getBuilder().createHopToExecutor(
3508
8
                            getOpLocation(Inst->getLoc()),
3509
8
                            getOpValue(Inst->getTargetExecutor()),
3510
8
                            Inst->isMandatory()));
3511
8
}
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
_ZN5swift9SILClonerINS_13GenericClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Line
Count
Source
3504
3
::visitHopToExecutorInst(HopToExecutorInst *Inst) {
3505
3
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3506
3
  recordClonedInstruction(Inst,
3507
3
                          getBuilder().createHopToExecutor(
3508
3
                            getOpLocation(Inst->getLoc()),
3509
3
                            getOpValue(Inst->getTargetExecutor()),
3510
3
                            Inst->isMandatory()));
3511
3
}
_ZN5swift9SILClonerINS_15SILInlineClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
Line
Count
Source
3504
158
::visitHopToExecutorInst(HopToExecutorInst *Inst) {
3505
158
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3506
158
  recordClonedInstruction(Inst,
3507
158
                          getBuilder().createHopToExecutor(
3508
158
                            getOpLocation(Inst->getLoc()),
3509
158
                            getOpValue(Inst->getTargetExecutor()),
3510
158
                            Inst->isMandatory()));
3511
158
}
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE22visitHopToExecutorInstEPNS_17HopToExecutorInstE
3512
3513
template <typename ImplClass>
3514
void SILCloner<ImplClass>
3515
0
::visitExtractExecutorInst(ExtractExecutorInst *Inst) {
3516
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3517
0
  recordClonedInstruction(Inst,
3518
0
                          getBuilder().createExtractExecutor(
3519
0
                            getOpLocation(Inst->getLoc()),
3520
0
                            getOpValue(Inst->getExpectedExecutor())));
3521
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE24visitExtractExecutorInstEPNS_19ExtractExecutorInstE
3522
3523
template <typename ImplClass>
3524
0
void SILCloner<ImplClass>::visitHasSymbolInst(HasSymbolInst *Inst) {
3525
0
  getBuilder().setCurrentDebugScope(getOpScope(Inst->getDebugScope()));
3526
0
  recordClonedInstruction(
3527
0
      Inst, getBuilder().createHasSymbol(getOpLocation(Inst->getLoc()),
3528
0
                                         Inst->getDecl()));
3529
0
}
Unexecuted instantiation: LoadableByAddress.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_116GlobalInitClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_20BasicTypeSubstClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9JVPCloner14ImplementationEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_8autodiff9VJPCloner14ImplementationEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: ExistentialTransform.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_128ExistentialSpecializerClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: CapturePropagation.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_124CapturePropagationClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: ClosureSpecializer.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117ClosureSpecClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: CrossModuleOptimization.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InstructionVisitorEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: LetPropertiesOpts.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_118InitSequenceClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: ArrayPropertyOpt.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_112RegionClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: LoopUnroll.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_110LoopClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: CapturePromotion.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113ClosureClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: ConsumeOperatorCopyableAddressesChecker.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_131ClosureArgumentInOutToOutClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_16BasicBlockClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_23ClonerWithFixedLocationEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_17SILFunctionClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: AllocBoxToStack.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119PromotedParamClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: CSE.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_117InstructionClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: SerializeSILPass.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_119MapOpaqueArchetypesEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_13GenericClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: _ZN5swift9SILClonerINS_15SILInlineClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
Unexecuted instantiation: SILInstruction.cpp:_ZN5swift9SILClonerIN12_GLOBAL__N_113TrivialClonerEE18visitHasSymbolInstEPNS_13HasSymbolInstE
3530
3531
} // end namespace swift
3532
3533
#endif